ESE350 project, Spring 2016, University of Pennsylvania
Dependencies: Adafruit9-DOf Receiver mbed-rtos mbed
Diff: main.cpp
- Revision:
- 47:ae478c380136
- Parent:
- 46:4bcf2e679f96
- Child:
- 49:59c3427e6838
--- a/main.cpp Thu May 05 15:58:49 2016 +0000 +++ b/main.cpp Thu May 05 20:47:55 2016 +0000 @@ -210,9 +210,9 @@ checkBattery += currentTime - previousTime; if (checkBattery > 1.0) { checkBattery = 0.0; - // if (low_battery()) { -// break; -// } + if (low_battery()) { + break; + } } previousTime = currentTime;