summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tcc77x
diff options
context:
space:
mode:
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