diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2021-12-05 23:49:26 -0600 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2021-12-10 12:00:26 -0500 |
commit | 762af872d2f2c977e51d6e51b8c3ad622485cc05 (patch) | |
tree | 0fd44fe4996b04a82c5c0cc46178b5893d3ae1c0 /watch-library/watch/watch_buzzer.h | |
parent | 316e1f292c603885f2af3dcd69ce797d64776425 (diff) | |
download | Sensor-Watch-762af872d2f2c977e51d6e51b8c3ad622485cc05.tar.gz Sensor-Watch-762af872d2f2c977e51d6e51b8c3ad622485cc05.tar.bz2 Sensor-Watch-762af872d2f2c977e51d6e51b8c3ad622485cc05.zip |
fix missing prototype warnings
Diffstat (limited to 'watch-library/watch/watch_buzzer.h')
-rw-r--r-- | watch-library/watch/watch_buzzer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/watch-library/watch/watch_buzzer.h b/watch-library/watch/watch_buzzer.h index e15657be..1b5d197c 100644 --- a/watch-library/watch/watch_buzzer.h +++ b/watch-library/watch/watch_buzzer.h @@ -33,7 +33,7 @@ /// @{ /** @brief Enables the TCC peripheral, which drives the buzzer. */ -void watch_enable_buzzer(); +void watch_enable_buzzer(void); /** @brief Sets the period of the buzzer. * @param period The period of a single cycle for the TCC peripheral. You can determine the period for @@ -45,17 +45,17 @@ void watch_set_buzzer_period(uint32_t period); * @note If you are using PWM to set custom LED colors, this method will also disable the LED PWM driver, * since the buzzer and LED both make use of the same peripheral to drive their PWM behavior. */ -void watch_disable_buzzer(); +void watch_disable_buzzer(void); /** @brief Turns the buzzer output on. It will emit a continuous sound at the given frequency. * @note The TCC peripheral that drives the buzzer does not run in standby mode; if you wish for buzzer * output to continue, you should prevent your app from going to sleep. */ -void watch_set_buzzer_on(); +void watch_set_buzzer_on(void); /** @brief Turns the buzzer output off. */ -void watch_set_buzzer_off(); +void watch_set_buzzer_off(void); /// @brief 87 notes for use with watch_buzzer_play_note typedef enum BuzzerNote { |