summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c')
-rw-r--r--firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c b/firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c
index 4129d34ec7..d23fb432d6 100644
--- a/firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c
+++ b/firmware/target/arm/as3525/sansa-fuzev2/button-fuzev2.c
@@ -233,12 +233,12 @@ int button_read_device(void)
233 CCU_IO &= ~(1<<12); 233 CCU_IO &= ~(1<<12);
234 234
235 GPIOB_PIN(0) = 1<<0; 235 GPIOB_PIN(0) = 1<<0;
236 udelay(10); 236 udelay(4);
237 237
238 gpiod6 = GPIOD_PIN(6); 238 gpiod6 = GPIOD_PIN(6);
239 239
240 GPIOB_PIN(0) = 0; 240 GPIOB_PIN(0) = 0;
241 udelay(5); 241 udelay(2);
242 242
243 if (GPIOC_PIN(1) & 1<<1) 243 if (GPIOC_PIN(1) & 1<<1)
244 btn |= BUTTON_DOWN; 244 btn |= BUTTON_DOWN;