summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sansa-clipplus
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/as3525/sansa-clipplus
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/as3525/sansa-clipplus')
-rw-r--r--firmware/target/arm/as3525/sansa-clipplus/button-clip.c2
-rw-r--r--firmware/target/arm/as3525/sansa-clipplus/button-target.h8
2 files changed, 1 insertions, 9 deletions
diff --git a/firmware/target/arm/as3525/sansa-clipplus/button-clip.c b/firmware/target/arm/as3525/sansa-clipplus/button-clip.c
index 6514346654..60b8c8f7a3 100644
--- a/firmware/target/arm/as3525/sansa-clipplus/button-clip.c
+++ b/firmware/target/arm/as3525/sansa-clipplus/button-clip.c
@@ -19,7 +19,7 @@
* KIND, either express or implied.
*
****************************************************************************/
-#include "button-target.h"
+#include "button.h"
#include "as3525v2.h"
#include "kernel.h"
diff --git a/firmware/target/arm/as3525/sansa-clipplus/button-target.h b/firmware/target/arm/as3525/sansa-clipplus/button-target.h
index c341a94220..8176382ba2 100644
--- a/firmware/target/arm/as3525/sansa-clipplus/button-target.h
+++ b/firmware/target/arm/as3525/sansa-clipplus/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_HOME 0x00000001
@@ -47,8 +41,6 @@ int button_read_device(void);
|BUTTON_UP|BUTTON_DOWN|BUTTON_LEFT|BUTTON_RIGHT\
|BUTTON_SELECT|BUTTON_POWER)
-#define BUTTON_REMOTE 0
-
/* Software power-off */
#define POWEROFF_BUTTON BUTTON_POWER
#define POWEROFF_COUNT 10