bluetooth control motor
Dependents: BLE_LED_IDB0XA1_demo MOTOR_BLE_V2 Motor_Ble_v1 Motor_Ble_v10223 ... more
Fork of X_NUCLEO_IDB0XA1 by
Diff: source/platform/btle.cpp
- Revision:
- 135:f0b6cf8ac4fc
- Parent:
- 134:d2f8d5898d04
- Child:
- 138:32e3c4ca7a45
diff -r d2f8d5898d04 -r f0b6cf8ac4fc source/platform/btle.cpp --- a/source/platform/btle.cpp Wed Oct 07 14:34:24 2015 +0200 +++ b/source/platform/btle.cpp Wed Oct 07 15:35:34 2015 +0200 @@ -193,7 +193,7 @@ strlen(name), (tHalUint8 *)name);*/ // Andrea: mbedOS -#ifdef YOTTA_CFG +#ifdef YOTTA_CFG_MBED_OS minar::Scheduler::postCallback(btle_handler); #endif return; @@ -208,7 +208,7 @@ @returns */ /**************************************************************************/ -#ifdef YOTTA_CFG +#ifdef YOTTA_CFG_MBED_OS int btle_handler_pending = 0; void btle_handler(void)