diff options
author | Lorenzo Miori <memoryS60@gmail.com> | 2013-12-28 19:00:57 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-02-05 21:57:31 +0100 |
commit | f005d841f292287326b8b9d1a74aac9bf3abbfc3 (patch) | |
tree | 4839b0a83e9af55a372610d65916aecbf06c563a /firmware/target/hosted/samsungypr/ypr1/button-ypr1.c | |
parent | e32ace831af98fd50bf0c08999802ce0f6a51bc8 (diff) | |
download | rockbox-f005d841f292287326b8b9d1a74aac9bf3abbfc3.tar.gz rockbox-f005d841f292287326b8b9d1a74aac9bf3abbfc3.zip |
Samsung YP-R0/YP-R1 refactoring
This patch includes some refactoring:
- renaming according to Rockbox guidelines
- GPIO code merging, still with target defines
- some simplification in firmware/SOURCES
Change-Id: I7fd95aece53f40efdf8caac22348376615795431
Diffstat (limited to 'firmware/target/hosted/samsungypr/ypr1/button-ypr1.c')
-rw-r--r-- | firmware/target/hosted/samsungypr/ypr1/button-ypr1.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/hosted/samsungypr/ypr1/button-ypr1.c b/firmware/target/hosted/samsungypr/ypr1/button-ypr1.c index 09891cfaf6..d12b8486b6 100644 --- a/firmware/target/hosted/samsungypr/ypr1/button-ypr1.c +++ b/firmware/target/hosted/samsungypr/ypr1/button-ypr1.c | |||
@@ -25,9 +25,8 @@ | |||
25 | #include "system.h" | 25 | #include "system.h" |
26 | #include "button-target.h" | 26 | #include "button-target.h" |
27 | 27 | ||
28 | #include <gpio-target.h> /* For headphones sense and buttons */ | 28 | #include "gpio-ypr.h" /* For headphones sense and buttons */ |
29 | #include "mcs5000.h" /* Touchscreen controller */ | 29 | #include "mcs5000.h" /* Touchscreen controller */ |
30 | #include "ioctl-ypr1.h" | ||
31 | 30 | ||
32 | enum { | 31 | enum { |
33 | STATE_UNKNOWN, | 32 | STATE_UNKNOWN, |