BLE fota Lamp Demo
Dependencies: mbed-rtos mbed mbed_fota_fan_control
Fork of mbed_fota_fan_control by
Diff: main.cpp
- Revision:
- 4:60be78a172c2
- Parent:
- 3:1e70387e1337
- Child:
- 5:e11b23f9aacc
--- a/main.cpp Tue Jun 23 06:32:40 2015 +0000 +++ b/main.cpp Wed Jun 24 08:50:07 2015 +0000 @@ -18,8 +18,11 @@ app_rst_gap(&myfota); - myfota.BleReceiveMsg(); - myfota.BleMsgHandle(); + for(int i = 0; i < 10; i++) + { + myfota.BleReceiveMsg(); + myfota.BleMsgHandle(); + } while(1) {