altos/telemega-v6: Remove beep freq defs and use defaults
authorKeith Packard <keithp@keithp.com>
Thu, 9 Feb 2023 22:54:19 +0000 (14:54 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 9 Feb 2023 22:54:19 +0000 (14:54 -0800)
These values came from the magnetic beeper on Tmega v5 which we aren't
using.

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

index da1dd15f1f95902622b6ee26af44997673b72191..5bc224fe950ac97dde27ef82c8407537ea4e0d11 100644 (file)
@@ -83,9 +83,6 @@
 #define BEEPER_CHANNEL         2
 #define BEEPER_PORT            (&stm_gpioe)
 #define BEEPER_PIN             4
-#define AO_BEEP_MID_DEFAULT    179             /* 2100 Hz */
-#define AO_BEEP_MAKE_LOW(m)    ((uint8_t) ((m) * 197U/179U)) /* 1900 Hz */
-#define AO_BEEP_MAKE_HIGH(m)   ((uint8_t) ((m) * 163U/179U)) /* 2300 Hz */
 #define HAS_BATTERY_REPORT     1
 #define HAS_RADIO              1
 #define HAS_TELEMETRY          1