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() { ...@@ -1647,10 +1647,8 @@ void NodeManager::loop() {
// turn off the pin powering all the sensors // turn off the pin powering all the sensors
if (_auto_power_pins) powerOff(); if (_auto_power_pins) powerOff();
#endif #endif
#if SLEEP_MANAGER == 1 // continue/start sleeping as requested
// continue/start sleeping as requested if (_sleep_mode != WAIT) _sleep();
_sleep();
#endif
} }
#endif #endif
} }
......
Supports Markdown
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