summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tcc77x
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/arm/tcc77x
parent63ead774d534db1e07cdae3edb56655d43b19902 (diff)
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/arm/tcc77x')
-rw-r--r--firmware/target/arm/tcc77x/c100/button-target.h9
-rw-r--r--firmware/target/arm/tcc77x/iaudio7/button-target.h10
-rw-r--r--firmware/target/arm/tcc77x/logikdax/button-target.h8
-rw-r--r--firmware/target/arm/tcc77x/m200/button-target.h9
4 files changed, 0 insertions, 36 deletions
diff --git a/firmware/target/arm/tcc77x/c100/button-target.h b/firmware/target/arm/tcc77x/c100/button-target.h
index 73c04b6ed6..0e8b7e8f1c 100644
--- a/firmware/target/arm/tcc77x/c100/button-target.h
+++ b/firmware/target/arm/tcc77x/c100/button-target.h
@@ -22,15 +22,8 @@
#ifndef _BUTTON_TARGET_H_
#define _BUTTON_TARGET_H_
-#include <stdbool.h>
-#include "config.h"
-
#define HAS_BUTTON_HOLD
-void button_init_device(void);
-int button_read_device(void);
-bool button_hold(void);
-
/* Main unit's buttons */
#define BUTTON_POWER 0x00000001
#define BUTTON_VOLUP 0x00000002
@@ -45,8 +38,6 @@ bool button_hold(void);
|BUTTON_UP|BUTTON_DOWN|BUTTON_LEFT\
|BUTTON_RIGHT|BUTTON_SELECT)
-#define BUTTON_REMOTE 0
-
/* Software power-off */
#define POWEROFF_BUTTON BUTTON_POWER
#define POWEROFF_COUNT 40
diff --git a/firmware/target/arm/tcc77x/iaudio7/button-target.h b/firmware/target/arm/tcc77x/iaudio7/button-target.h
index fafaf4a303..9d232d9ae8 100644
--- a/firmware/target/arm/tcc77x/iaudio7/button-target.h
+++ b/firmware/target/arm/tcc77x/iaudio7/button-target.h
@@ -21,15 +21,8 @@
#ifndef _IAUDIO7_BUTTON_TARGET_H_
#define _IAUDIO7_BUTTON_TARGET_H_
-#include <stdbool.h>
-#include "config.h"
-
#define HAS_BUTTON_HOLD
-bool button_hold(void);
-void button_init_device(void);
-int button_read_device(void);
-
/* Main unit's buttons */
#define BUTTON_POWER 0x00000001
#define BUTTON_VOLUP 0x00000002
@@ -47,9 +40,6 @@ int button_read_device(void);
BUTTON_MENU|BUTTON_LEFT|BUTTON_RIGHT| \
BUTTON_PLAY|BUTTON_STOP)
-/* No remote */
-#define BUTTON_REMOTE 0
-
/* Software power-off */
#define POWEROFF_BUTTON BUTTON_POWER
#define POWEROFF_COUNT 10
diff --git a/firmware/target/arm/tcc77x/logikdax/button-target.h b/firmware/target/arm/tcc77x/logikdax/button-target.h
index 4146745cdc..505fe438ed 100644
--- a/firmware/target/arm/tcc77x/logikdax/button-target.h
+++ b/firmware/target/arm/tcc77x/logikdax/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_POWERPLAY 0x00000001
#define BUTTON_MODE 0x00000002
@@ -44,8 +38,6 @@ int button_read_device(void);
|BUTTON_REC|BUTTON_PRESET|BUTTON_LEFT\
|BUTTON_RIGHT|BUTTON_UP|BUTTON_DOWN|BUTTON_SELECT)
-#define BUTTON_REMOTE 0
-
/* Software power-off */
#define POWEROFF_BUTTON BUTTON_POWERPLAY
#define POWEROFF_COUNT 40
diff --git a/firmware/target/arm/tcc77x/m200/button-target.h b/firmware/target/arm/tcc77x/m200/button-target.h
index acf80b2ed7..b96df22edc 100644
--- a/firmware/target/arm/tcc77x/m200/button-target.h
+++ b/firmware/target/arm/tcc77x/m200/button-target.h
@@ -22,15 +22,8 @@
#ifndef _BUTTON_TARGET_H_
#define _BUTTON_TARGET_H_
-#include <stdbool.h>
-#include "config.h"
-
#define HAS_BUTTON_HOLD
-void button_init_device(void);
-int button_read_device(void);
-bool button_hold(void);
-
/* Main unit's buttons */
#define BUTTON_MENU 0x00000001
#define BUTTON_VOLUP 0x00000002
@@ -45,8 +38,6 @@ bool button_hold(void);
|BUTTON_PLAYPAUSE|BUTTON_REPEATAB|BUTTON_LEFT\
|BUTTON_RIGHT|BUTTON_SELECT)
-#define BUTTON_REMOTE 0
-
/* Software power-off */
#define POWEROFF_BUTTON BUTTON_MENU
#define POWEROFF_COUNT 40