summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/as3525/sansa-clipzip/backlight-clipzip.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-09-24 11:21:01 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-09-24 11:21:01 +0000
commitf323300b82aa945dd4cadb20d8d7e23a6602ef49 (patch)
tree11d63f42fd226e98d809a88789a12001619cc647 /firmware/target/arm/as3525/sansa-clipzip/backlight-clipzip.c
parent1322b58b17201ba70d35e6121ddaa87c0dceaf5b (diff)
downloadrockbox-f323300b82aa945dd4cadb20d8d7e23a6602ef49.tar.gz
rockbox-f323300b82aa945dd4cadb20d8d7e23a6602ef49.tar.bz2
rockbox-f323300b82aa945dd4cadb20d8d7e23a6602ef49.zip
Sansa clipzip: make main build compile (plugins still disabled)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30588 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clipzip/backlight-clipzip.c')
-rw-r--r--firmware/target/arm/as3525/sansa-clipzip/backlight-clipzip.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sansa-clipzip/backlight-clipzip.c b/firmware/target/arm/as3525/sansa-clipzip/backlight-clipzip.c
index e2a175b574..758aa875cc 100644
--- a/firmware/target/arm/as3525/sansa-clipzip/backlight-clipzip.c
+++ b/firmware/target/arm/as3525/sansa-clipzip/backlight-clipzip.c
@@ -19,15 +19,19 @@
*
****************************************************************************/
+#include <stdbool.h>
+#include "config.h"
#include "backlight-target.h"
#include "lcd.h"
#include "as3525v2.h"
#include "ascodec-target.h"
-void _backlight_init()
+bool _backlight_init()
{
/* GPIO B1 controls backlight */
GPIOB_DIR |= (1 << 1);
+
+ return true;
}
void _backlight_on(void)