From e559cdb916684a764fd14e4e17db15ccf5421bd2 Mon Sep 17 00:00:00 2001 From: Rani Hod Date: Tue, 8 Aug 2006 22:45:13 +0000 Subject: [PATCH] fixed bootloader problem not only for x5. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10492 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/button.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index 9ff0206a2b..f31ab33c87 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c @@ -850,8 +850,10 @@ static int button_read(void) hold_button_old = hold_button; hold_button = button_hold(); +#ifndef BOOTLOADER if (hold_button != hold_button_old) backlight_hold_changed(hold_button); +#endif if (!hold_button) {