summaryrefslogtreecommitdiffstats
path: root/firmware/target/sh
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2012-01-08 00:18:43 +0000
committerRafaël Carré <rafael.carre@gmail.com>2012-01-08 00:18:43 +0000
commit7c547be19d1999932534fda39a0b73c5eb16e618 (patch)
treec37e0e4950142b6b5dfb9a8e4056bbc152ad95be /firmware/target/sh
parent95cf63b294f3cbe2d4da60f32a35c7b07c4b74a3 (diff)
downloadrockbox-7c547be19d1999932534fda39a0b73c5eb16e618.tar.gz
rockbox-7c547be19d1999932534fda39a0b73c5eb16e618.tar.bz2
rockbox-7c547be19d1999932534fda39a0b73c5eb16e618.zip
fix previous commit
implement button_init_device for ondio include button.h to get prototypes git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31621 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/sh')
-rw-r--r--firmware/target/sh/archos/ondio/button-ondio.c4
-rw-r--r--firmware/target/sh/archos/ondio/button-target.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/firmware/target/sh/archos/ondio/button-ondio.c b/firmware/target/sh/archos/ondio/button-ondio.c
index 91e43fc41a..e3b370bc1f 100644
--- a/firmware/target/sh/archos/ondio/button-ondio.c
+++ b/firmware/target/sh/archos/ondio/button-ondio.c
@@ -37,6 +37,10 @@
ON/OFF: AN3, low active (assigned as OFF)
*/
+void button_init_device(void)
+{
+}
+
int button_read_device(void)
{
int btn = BUTTON_NONE;
diff --git a/firmware/target/sh/archos/ondio/button-target.h b/firmware/target/sh/archos/ondio/button-target.h
index b23d157b6d..a84be2851a 100644
--- a/firmware/target/sh/archos/ondio/button-target.h
+++ b/firmware/target/sh/archos/ondio/button-target.h
@@ -22,8 +22,6 @@
#ifndef _BUTTON_TARGET_H_
#define _BUTTON_TARGET_H_
-#define button_init_device()
-
#define BUTTON_OFF 0x00000001
#define BUTTON_MENU 0x00000002