From 069492fc092e96e2ea4820bb9260ef6bd84899f0 Mon Sep 17 00:00:00 2001 From: Chris Vig Date: Mon, 1 Sep 2025 10:53:54 -0500 Subject: [PATCH] Expand allowed range for buzzer frequency. --- src/main/application/buzzer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/application/buzzer.h b/src/main/application/buzzer.h index bfce28f..a61421d 100644 --- a/src/main/application/buzzer.h +++ b/src/main/application/buzzer.h @@ -36,14 +36,14 @@ typedef uint16_t buzzer_freq_t; * @brief The minimum supported frequency for the buzzer, in Hz. * @note This is empirical, based on audio quality with the current buzzer hardware. */ -#define BUZZER_MINIMUM_FREQUENCY 400 +#define BUZZER_MINIMUM_FREQUENCY 100 /** * @def BUZZER_MAXIMUM_FREQUENCY * @brief The maximum supported frequency for the buzzer, in Hz. * @note This is empirical, based on audio quality with the current buzzer hardware. */ -#define BUZZER_MAXIMUM_FREQUENCY 2000 +#define BUZZER_MAXIMUM_FREQUENCY 5000 _Static_assert( BUZZER_MINIMUM_FREQUENCY < BUZZER_MAXIMUM_FREQUENCY, "Invalid frequency range!" );