summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sansa-clipplus/button-clip.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-02-05 12:40:25 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-02-05 12:40:25 +0000
commit12af2926e50450fe8a5aacbc1d4477b68fdd3e63 (patch)
treee761118345fc8640ba181999e8575964f3975587 /firmware/target/arm/as3525/sansa-clipplus/button-clip.c
parenta9ab407f8460017d3c7189f0cbf4bd464e7a90ce (diff)
downloadrockbox-12af2926e50450fe8a5aacbc1d4477b68fdd3e63.tar.gz
rockbox-12af2926e50450fe8a5aacbc1d4477b68fdd3e63.zip
Make Clip+ bootloader build
Now making the Fuzev2 bootloader build should be pretty easy TODO: - write button driver (FlynDice found all buttons already) - find button light - decide if lcd-ssd1303.c must be modified for Clip+ using SSP or forked - check if backlight code works (I copied Clipv2 code) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24520 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clipplus/button-clip.c')
-rw-r--r--firmware/target/arm/as3525/sansa-clipplus/button-clip.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/sansa-clipplus/button-clip.c b/firmware/target/arm/as3525/sansa-clipplus/button-clip.c
new file mode 100644
index 0000000000..52917cca6f
--- /dev/null
+++ b/firmware/target/arm/as3525/sansa-clipplus/button-clip.c
@@ -0,0 +1,33 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2008 François Dinel
11 * Copyright © 2008-2009 Rafaël Carré
12 *
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License
15 * as published by the Free Software Foundation; either version 2
16 * of the License, or (at your option) any later version.
17 *
18 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
19 * KIND, either express or implied.
20 *
21 ****************************************************************************/
22#include "button-target.h"
23#include "as3525v2.h"
24#include "kernel.h"
25
26void button_init_device(void)
27{
28}
29
30int button_read_device(void)
31{
32 return 0;
33}