Skip to content

Commit 6609894

Browse files
committed
Add print if device in power down mode
1 parent b4ddbd0 commit 6609894

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Firmware/RTK_Everywhere/Buttons.ino

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,9 @@ void powerDown(bool displayInfo)
5959
peripheralsOff();
6060

6161
while (1)
62-
delay(1);
62+
{
63+
//We should never get here but good to know if we do
64+
systemPrintln("Device powered down");
65+
delay(250);
66+
}
6367
}

0 commit comments

Comments
 (0)