Switched to RawSerial
parent
64d6fc5de0
commit
90a10fba36
|
@ -1 +0,0 @@
|
|||
http://mbed.org/users/mbed_official/code/USBDevice/#4f6df64750bd
|
|
@ -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;
|
||||
|
|
|
@ -22,7 +22,7 @@ class nRF51822 : public BLERadio
|
|||
virtual ble_error_t reset(void);
|
||||
|
||||
private:
|
||||
Serial uart;
|
||||
RawSerial uart;
|
||||
|
||||
/* nRF51 Functions */
|
||||
void uartCallback(void);
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
http://mbed.org/users/bogdanm/code/mbed-src-flowcontrol-new/#d12849734720
|
|
@ -1 +0,0 @@
|
|||
http://mbed.org/users/bogdanm/code/mbed-src-flowcontrol/#2612d6599730
|
Loading…
Reference in New Issue