Skip to content

Commit 150403e

Browse files
committed
wait longer for shutdown on obs pro to avoid accidentally shutting down instead of uploading.
1 parent 189c3df commit 150403e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenBikeSensorFirmware.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ static void powerKeepAliveTimerISR()
261261
else
262262
buttonPressedCounter = 0;
263263

264-
if(shutdownState == 0 && buttonPressedCounter >= 20) {
264+
if(shutdownState == 0 && buttonPressedCounter >= 50) {
265265
shutdownState = 1;
266266
}
267267
switch(shutdownState)

0 commit comments

Comments
 (0)