diff options
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c b/firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c index 0e0e157a54..8170c1b895 100644 --- a/firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c +++ b/firmware/target/arm/as3525/sansa-e200v2/button-e200v2.c | |||
@@ -208,11 +208,11 @@ int button_read_device(void) | |||
208 | /* set dir so we can read our buttons (but reset the C pins first) */ | 208 | /* set dir so we can read our buttons (but reset the C pins first) */ |
209 | GPIOB_DIR &= ~(1<<4); | 209 | GPIOB_DIR &= ~(1<<4); |
210 | GPIOC_DIR |= (1<<2|1<<3|1<<4|1<<5|1<<6); | 210 | GPIOC_DIR |= (1<<2|1<<3|1<<4|1<<5|1<<6); |
211 | GPIOC_PIN(2) |= (1<<2); | 211 | GPIOC_PIN(2) = (1<<2); |
212 | GPIOC_PIN(3) |= (1<<3); | 212 | GPIOC_PIN(3) = (1<<3); |
213 | GPIOC_PIN(4) |= (1<<4); | 213 | GPIOC_PIN(4) = (1<<4); |
214 | GPIOC_PIN(5) |= (1<<5); | 214 | GPIOC_PIN(5) = (1<<5); |
215 | GPIOC_PIN(6) |= (1<<6); | 215 | GPIOC_PIN(6) = (1<<6); |
216 | 216 | ||
217 | GPIOC_DIR &= ~(1<<2|1<<3|1<<4|1<<5|1<<6); | 217 | GPIOC_DIR &= ~(1<<2|1<<3|1<<4|1<<5|1<<6); |
218 | 218 | ||