Skip to content

Commit 44d09c9

Browse files
authored
Expand allowed range for buzzer frequency. (#31)
1 parent 0303792 commit 44d09c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/application/buzzer.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ typedef uint16_t buzzer_freq_t;
3636
* @brief The minimum supported frequency for the buzzer, in Hz.
3737
* @note This is empirical, based on audio quality with the current buzzer hardware.
3838
*/
39-
#define BUZZER_MINIMUM_FREQUENCY 400
39+
#define BUZZER_MINIMUM_FREQUENCY 100
4040

4141
/**
4242
* @def BUZZER_MAXIMUM_FREQUENCY
4343
* @brief The maximum supported frequency for the buzzer, in Hz.
4444
* @note This is empirical, based on audio quality with the current buzzer hardware.
4545
*/
46-
#define BUZZER_MAXIMUM_FREQUENCY 2000
46+
#define BUZZER_MAXIMUM_FREQUENCY 5000
4747

4848
_Static_assert( BUZZER_MINIMUM_FREQUENCY < BUZZER_MAXIMUM_FREQUENCY, "Invalid frequency range!" );
4949

0 commit comments

Comments
 (0)