summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonius Hellmann <toni@rockbox.org>2007-05-09 17:27:56 +0000
committerAntonius Hellmann <toni@rockbox.org>2007-05-09 17:27:56 +0000
commitab75d0eaaec78ddfd2fa2523611559c697f5151e (patch)
treecb60a783c7006eaa59be8e762ea66b7a6f3369c4
parent77771b0a4304d9b13d0ed961fa677f2f98568e18 (diff)
display error/boot messages in the sansa bootloader
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13366 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/sandisk/sansa-e200/backlight-e200.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c b/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c
index 5eaec03f24..df98e8c880 100644
--- a/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c
+++ b/firmware/target/arm/sandisk/sansa-e200/backlight-e200.c
@@ -27,7 +27,11 @@ static bool backlight_is_on = false;
int __backlight_is_on(void)
{
+#ifdef BOOTLOADER
+ return (int)true;
+#else
return (int)backlight_is_on;
+#endif
}
void __backlight_set_brightness(int brightness)