Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BLE_API mbed-dev-bin nRF51822
Fork of microbit-dal by
Diff: inc/drivers/MicroBitSerial.h
- Revision:
- 23:6055f6c19fa6
- Parent:
- 22:23d7b9a4b082
- Child:
- 25:27299423d813
--- a/inc/drivers/MicroBitSerial.h Wed Jul 13 12:17:54 2016 +0100
+++ b/inc/drivers/MicroBitSerial.h Wed Jul 13 12:17:56 2016 +0100
@@ -105,13 +105,9 @@
* @param len the length of the string, and ultimately the maximum number of bytes
* that will be copied dependent on the state of txBuff
*
- * @param mode determines whether to configure the current fiber context or not. If
- * The mode is SYNC_SPINWAIT, the context will not be configured, otherwise
- * no context will be configured.
- *
* @return the number of bytes copied into the buffer.
*/
- int setTxInterrupt(uint8_t *string, int len, MicroBitSerialMode mode);
+ int setTxInterrupt(uint8_t *string, int len);
/**
* Locks the mutex so that others can't use this serial instance for reception
