summaryrefslogtreecommitdiffstats
path: root/bootloader/telechips.c
diff options
context:
space:
mode:
authorMarc Guay <marcguay@rockbox.org>2008-07-06 21:32:59 +0000
committerMarc Guay <marcguay@rockbox.org>2008-07-06 21:32:59 +0000
commitf6cde72ce9e0f01cacc2d579716a8cf13da27133 (patch)
treed1e4cb601dc39f631dec813c404cd5ed69f7394b /bootloader/telechips.c
parentf626357cc3ed710e57cd036ee81d2ac9e1830111 (diff)
downloadrockbox-f6cde72ce9e0f01cacc2d579716a8cf13da27133.tar.gz
rockbox-f6cde72ce9e0f01cacc2d579716a8cf13da27133.tar.bz2
rockbox-f6cde72ce9e0f01cacc2d579716a8cf13da27133.zip
Fix a few dead references in the manual and add an 's' where one was missing.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17972 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader/telechips.c')
-rw-r--r--bootloader/telechips.c4
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)
line = 1;
button = button_get(false);
- /* Power-off if POWER button has been held for a long time
+ /* Power-off if POWER button has been held for a time
This loop is currently running at about 100 iterations/second
*/
if (button & POWEROFF_BUTTON) {
power_count++;
- if (power_count > 200)
+ if (power_count > 100)
do_power_off = true;
} else {
power_count = 0;