mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
nrf52: make companion sleep when idle
This commit is contained in:
parent
bbc5f0c11a
commit
5a64fd3a77
1 changed files with 5 additions and 0 deletions
|
|
@ -225,4 +225,9 @@ void loop() {
|
|||
ui_task.loop();
|
||||
#endif
|
||||
rtc_clock.tick();
|
||||
|
||||
#if defined(NRF52_PLATFORM)
|
||||
board.sleep(1800);
|
||||
#endif
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue