Bill Schilit / BLE_API

Fork of BLE_API by Bluetooth Low Energy

Revision:
17:9eb2b6fbbda9
Parent:
16:542a9db01350
Child:
20:c6ceaa206674
diff -r 542a9db01350 -r 9eb2b6fbbda9 hw/nrf51822.cpp
--- a/hw/nrf51822.cpp	Wed Dec 18 18:02:45 2013 +0000
+++ b/hw/nrf51822.cpp	Wed Dec 18 19:15:07 2013 +0000
@@ -28,7 +28,7 @@
     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;