altos: TeleMini beeper is on Tim2 CH4, not Tim3 CH4
authorKeith Packard <keithp@keithp.com>
Thu, 23 Jan 2020 22:34:14 +0000 (14:34 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 23 Jan 2020 22:34:14 +0000 (14:34 -0800)
This makes the beeper work.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/telemini-v3.0/ao_pins.h

index d91b1d21fcf8d04374fc4efe3029b3a72f134c20..ae8534b9c3fbaf56ef3545f42dcaf6296273da3d 100644 (file)
@@ -74,9 +74,9 @@
 #define AO_RECOVERY_VALUE      0
 #define AO_RECOVERY_MODE       AO_EXTI_MODE_PULL_UP
 
-/* Beeper is on Tim3 CH4 */
+/* Beeper is on Tim2 CH4 */
 #define BEEPER_CHANNEL         4
-#define BEEPER_TIMER           3
+#define BEEPER_TIMER           2
 #define BEEPER_PORT            (&stm_gpioa)
 #define BEEPER_PIN             3