altos/telelco-v2.0: Fix button names and pin mappings. Add drag LED.
[fw/altos] / src / telelco-v2.0 / ao_pins.h
index 77caf254182937e0241a52fa9e4a4d59bc6900d2..73ce9d6c80237517c1f7d12c88faa605f62e475e 100644 (file)
 #define AO_BUTTON_COUNT                9
 #define AO_BUTTON_MODE         AO_EXTI_MODE_PULL_UP
 
-#define AO_BUTTON_MODE_SELECT  0
+#define AO_BUTTON_DRAG_MODE    0
 #define AO_BUTTON_0_PORT       &stm_gpioe
 #define AO_BUTTON_0            1
 
 #define AO_BUTTON_DRAG_SELECT  1
 #define AO_BUTTON_1_PORT       &stm_gpioe
-#define AO_BUTTON_1            1
+#define AO_BUTTON_1            0
 
 #define AO_BUTTON_SPARE1               2
 #define AO_BUTTON_2_PORT       &stm_gpiob
 #define AO_BUTTON_7_PORT       &stm_gpiod
 #define AO_BUTTON_7            11
 
-#define AO_BUTTON_SELECT       8
+#define AO_BUTTON_ENCODER_SELECT       8
 #define AO_BUTTON_8_PORT       &stm_gpioe
-#define AO_BUTTON_8            0
+#define AO_BUTTON_8            13
 
 #endif /* _AO_PINS_H_ */