Switched to RawSerial

master
ktownsend 2013-12-18 19:15:07 +00:00
parent 64d6fc5de0
commit 90a10fba36
5 changed files with 3 additions and 4 deletions

View File

@ -1 +0,0 @@
http://mbed.org/users/mbed_official/code/USBDevice/#4f6df64750bd

View File

@ -28,7 +28,7 @@ nRF51822::nRF51822() : uart(p9, p10)
uart.attach(this, &nRF51822::uartCallback);
/* Add flow control for UART (required by the nRF51822) */
uart.set_flow_control(Serial::RTSCTS, p30, p29);
uart.set_flow_control(RawSerial::RTSCTS, p30, p29);
/* Reset the service counter */
serviceCount = 0;

View File

@ -22,7 +22,7 @@ class nRF51822 : public BLERadio
virtual ble_error_t reset(void);
private:
Serial uart;
RawSerial uart;
/* nRF51 Functions */
void uartCallback(void);

View File

@ -0,0 +1 @@
http://mbed.org/users/bogdanm/code/mbed-src-flowcontrol-new/#d12849734720

View File

@ -1 +0,0 @@
http://mbed.org/users/bogdanm/code/mbed-src-flowcontrol/#2612d6599730