diff options
author | Szymon Dziok <b0hoon@o2.pl> | 2014-07-28 22:02:53 +0200 |
---|---|---|
committer | Szymon Dziok <b0hoon@o2.pl> | 2014-07-28 22:11:33 +0200 |
commit | 86fa139eac0493893e08769a82e3a0eb6ed7bc90 (patch) | |
tree | 09e559c5a51694122e4c1860cee03acfc34d24dd /firmware/target/arm/pp/system-pp502x.c | |
parent | 228c47be4cb2d6612f06b443597885cc431152c1 (diff) | |
download | rockbox-86fa139eac0493893e08769a82e3a0eb6ed7bc90.tar.gz rockbox-86fa139eac0493893e08769a82e3a0eb6ed7bc90.zip |
Support for remote on Samsung YH920/YH925.bootloader_yh820_v1
Remote buttons are bound to the standard buttons in button-target.h, but they can
have a separate buttonmap, if someone wants.
Change-Id: Id8c78a3dfec0005bf588dc16416870b4c7c56836
Diffstat (limited to 'firmware/target/arm/pp/system-pp502x.c')
-rw-r--r-- | firmware/target/arm/pp/system-pp502x.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/pp/system-pp502x.c b/firmware/target/arm/pp/system-pp502x.c index 697b52cf51..99b536e132 100644 --- a/firmware/target/arm/pp/system-pp502x.c +++ b/firmware/target/arm/pp/system-pp502x.c | |||
@@ -154,6 +154,10 @@ void __attribute__((interrupt("IRQ"))) irq_handler(void) | |||
154 | else if (CPU_HI_INT_STAT & GPIO0_MASK) { | 154 | else if (CPU_HI_INT_STAT & GPIO0_MASK) { |
155 | if (GPIOD_INT_STAT & 0x10) | 155 | if (GPIOD_INT_STAT & 0x10) |
156 | usb_insert_int(); | 156 | usb_insert_int(); |
157 | #if !defined(SAMSUNG_YH820) | ||
158 | if (GPIOD_INT_STAT & 0x01) | ||
159 | remote_int(); | ||
160 | #endif | ||
157 | } | 161 | } |
158 | /* end SAMSUNG_YHxxx */ | 162 | /* end SAMSUNG_YHxxx */ |
159 | #elif defined(PBELL_VIBE500) | 163 | #elif defined(PBELL_VIBE500) |