summaryrefslogtreecommitdiffstats
path: root/firmware/target/sh
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2012-01-08 00:07:19 +0000
committerRafaël Carré <rafael.carre@gmail.com>2012-01-08 00:07:19 +0000
commit95cf63b294f3cbe2d4da60f32a35c7b07c4b74a3 (patch)
tree26527cbd96f62ff5a26d46e8b63be40e0a306084 /firmware/target/sh
parent63ead774d534db1e07cdae3edb56655d43b19902 (diff)
downloadrockbox-95cf63b294f3cbe2d4da60f32a35c7b07c4b74a3.tar.gz
rockbox-95cf63b294f3cbe2d4da60f32a35c7b07c4b74a3.tar.bz2
rockbox-95cf63b294f3cbe2d4da60f32a35c7b07c4b74a3.zip
button-target.h : move prototypes to button.h
no need to define BUTTON_REMOTE anymore git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31620 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/sh')
-rw-r--r--firmware/target/sh/archos/fm_v2/button-target.h8
-rw-r--r--firmware/target/sh/archos/ondio/button-target.h6
-rw-r--r--firmware/target/sh/archos/player/button-target.h6
-rw-r--r--firmware/target/sh/archos/recorder/button-target.h6
4 files changed, 0 insertions, 26 deletions
diff --git a/firmware/target/sh/archos/fm_v2/button-target.h b/firmware/target/sh/archos/fm_v2/button-target.h
index 5330324141..47eb48c32d 100644
--- a/firmware/target/sh/archos/fm_v2/button-target.h
+++ b/firmware/target/sh/archos/fm_v2/button-target.h
@@ -22,12 +22,6 @@
#ifndef _BUTTON_TARGET_H_
#define _BUTTON_TARGET_H_
-#include <stdbool.h>
-#include "config.h"
-
-void button_init_device(void);
-int button_read_device(void);
-
/* Main unit's buttons */
#define BUTTON_ON 0x00000001
#define BUTTON_OFF 0x00000002
@@ -46,8 +40,6 @@ int button_read_device(void);
#define BUTTON_MAIN (BUTTON_ON|BUTTON_OFF|BUTTON_LEFT|BUTTON_RIGHT\
|BUTTON_UP|BUTTON_DOWN|BUTTON_PLAY\
|BUTTON_F1|BUTTON_F2|BUTTON_F3)
-
-#define BUTTON_REMOTE 0
#define POWEROFF_BUTTON BUTTON_OFF
#define POWEROFF_COUNT 10
diff --git a/firmware/target/sh/archos/ondio/button-target.h b/firmware/target/sh/archos/ondio/button-target.h
index cf605b19bd..b23d157b6d 100644
--- a/firmware/target/sh/archos/ondio/button-target.h
+++ b/firmware/target/sh/archos/ondio/button-target.h
@@ -22,11 +22,7 @@
#ifndef _BUTTON_TARGET_H_
#define _BUTTON_TARGET_H_
-#include <stdbool.h>
-#include "config.h"
-
#define button_init_device()
-int button_read_device(void);
#define BUTTON_OFF 0x00000001
#define BUTTON_MENU 0x00000002
@@ -39,8 +35,6 @@ int button_read_device(void);
#define BUTTON_MAIN (BUTTON_OFF|BUTTON_MENU|BUTTON_LEFT|BUTTON_RIGHT\
|BUTTON_UP|BUTTON_DOWN)
-#define BUTTON_REMOTE 0
-
#define POWEROFF_BUTTON BUTTON_OFF
#define POWEROFF_COUNT 10
diff --git a/firmware/target/sh/archos/player/button-target.h b/firmware/target/sh/archos/player/button-target.h
index 11722ce1d0..dd85d731be 100644
--- a/firmware/target/sh/archos/player/button-target.h
+++ b/firmware/target/sh/archos/player/button-target.h
@@ -22,14 +22,8 @@
#ifndef _BUTTON_TARGET_H_
#define _BUTTON_TARGET_H_
-#include <stdbool.h>
-#include "config.h"
-
#define HAS_SERIAL_REMOTE
-void button_init_device(void);
-int button_read_device(void);
-
/* Main unit's buttons */
#define BUTTON_ON 0x00000001
#define BUTTON_STOP 0x00000002
diff --git a/firmware/target/sh/archos/recorder/button-target.h b/firmware/target/sh/archos/recorder/button-target.h
index bcaf3f0049..f387fafe10 100644
--- a/firmware/target/sh/archos/recorder/button-target.h
+++ b/firmware/target/sh/archos/recorder/button-target.h
@@ -22,14 +22,8 @@
#ifndef _BUTTON_TARGET_H_
#define _BUTTON_TARGET_H_
-#include <stdbool.h>
-#include "config.h"
-
#define HAS_SERIAL_REMOTE
-void button_init_device(void);
-int button_read_device(void);
-
/* Main unit's buttons */
#define BUTTON_ON 0x00000001
#define BUTTON_OFF 0x00000002