diff options
Diffstat (limited to 'bootloader')
-rw-r--r-- | bootloader/telechips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootloader/telechips.c b/bootloader/telechips.c index 9f912ebe2d..47e508b8b3 100644 --- a/bootloader/telechips.c +++ b/bootloader/telechips.c | |||
@@ -70,12 +70,12 @@ void show_debug_screen(void) | |||
70 | line = 1; | 70 | line = 1; |
71 | button = button_get(false); | 71 | button = button_get(false); |
72 | 72 | ||
73 | /* Power-off if POWER button has been held for a long time | 73 | /* Power-off if POWER button has been held for a time |
74 | This loop is currently running at about 100 iterations/second | 74 | This loop is currently running at about 100 iterations/second |
75 | */ | 75 | */ |
76 | if (button & POWEROFF_BUTTON) { | 76 | if (button & POWEROFF_BUTTON) { |
77 | power_count++; | 77 | power_count++; |
78 | if (power_count > 200) | 78 | if (power_count > 100) |
79 | do_power_off = true; | 79 | do_power_off = true; |
80 | } else { | 80 | } else { |
81 | power_count = 0; | 81 | power_count = 0; |