Commit dcc7e621 authored by user2684's avatar user2684
Browse files

if node is IDLE, battery is reported continuously #66

parent feecc766
......@@ -1647,10 +1647,8 @@ void NodeManager::loop() {
// turn off the pin powering all the sensors
if (_auto_power_pins) powerOff();
#endif
#if SLEEP_MANAGER == 1
// continue/start sleeping as requested
_sleep();
#endif
// continue/start sleeping as requested
if (_sleep_mode != WAIT) _sleep();
}
#endif
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment