summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/button-clip.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/button-clip.c')
-rw-r--r--firmware/target/arm/as3525/button-clip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/button-clip.c b/firmware/target/arm/as3525/button-clip.c
index 18bac8aa01..2bd472c049 100644
--- a/firmware/target/arm/as3525/button-clip.c
+++ b/firmware/target/arm/as3525/button-clip.c
@@ -52,6 +52,7 @@ static const int rows[3] = {
52void button_init_device(void) 52void button_init_device(void)
53{ 53{
54 GPIOA_DIR &= ~((1<<7) | (1<<3)); 54 GPIOA_DIR &= ~((1<<7) | (1<<3));
55 CCU_IO &= ~(3<<2);
55 IN_DIR &= ~((1<<2) | (1<<1) | (1<<0)); 56 IN_DIR &= ~((1<<2) | (1<<1) | (1<<0));
56 57
57 for (int i = 0; i < 3; i++) { 58 for (int i = 0; i < 3; i++) {