[prev in list] [next in list] [prev in thread] [next in thread] 

List:       rockbox-cvs
Subject:    kugel: r25394 - trunk/firmware/target/arm/as3525/sansa-fuzev2
From:       mailer () svn ! rockbox ! org
Date:       2010-03-29 23:14:45
Message-ID: 201003292314.o2TNEjM8000314 () giant ! haxx ! se
[Download RAW message or body]

Date: 2010-03-30 01:14:44 +0200 (Tue, 30 Mar 2010)
New Revision: 25394

Log Message:
Fix bootloader red, it doesn't have backlight handling.

Modified:
   trunk/firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c

Modified: trunk/firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c
===================================================================
--- trunk/firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c	2010-03-29 23:10:00 UTC (rev 25393)
+++ trunk/firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c	2010-03-29 23:14:44 UTC (rev 25394)
@@ -99,12 +99,16 @@
     GPIOD_DIR = 0;
     CCU_IO |= 1<<12;
 #ifdef HAS_BUTTON_HOLD
+#ifndef BOOTLOADER
     /* light handling */
     if (hold_button != hold_button_old)
     {
         hold_button_old = hold_button;
         backlight_hold_changed(hold_button);
     }
+#else
+    (void)hold_button_old;
+#endif
     if (hold_button)
     {
         power_counter = HZ;

_______________________________________________
rockbox-cvs mailing list
rockbox-cvs@cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox-cvs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic