Improve readability with getHandle inline
Fork of BLE_API by
Diff: services/UARTService.h
- Revision:
- 171:6092e61690dc
- Parent:
- 170:e1868d922d93
- Child:
- 195:7c0c8ba69626
diff -r e1868d922d93 -r 6092e61690dc services/UARTService.h --- a/services/UARTService.h Fri Nov 28 14:11:22 2014 +0000 +++ b/services/UARTService.h Fri Nov 28 14:11:22 2014 +0000 @@ -41,7 +41,7 @@ public: UARTService(BLEDevice &_ble) : - Stream("bleuart"), + Stream("blueart"), ble(_ble), receiveBuffer(), sendBuffer(), @@ -86,7 +86,7 @@ * prepared to stitch these messages back. */ void retargetStdout() { - freopen("/bleuart", "w", stdout); + freopen("/blueart", "w", stdout); } /**