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_slcd.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_slcd.h')
-rw-r--r-- | watch-library/watch/watch_slcd.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/watch-library/watch/watch_slcd.h b/watch-library/watch/watch_slcd.h index abe4d744..3f550bb0 100644 --- a/watch-library/watch/watch_slcd.h +++ b/watch-library/watch/watch_slcd.h @@ -53,7 +53,7 @@ typedef enum WatchIndicatorSegment { /** @brief Enables the Segment LCD display. * Call this before attempting to set pixels or display strings. */ -void watch_enable_display(); +void watch_enable_display(void); /** @brief Sets a pixel. Use this to manually set a pixel with a given common and segment number. * See <a href="segmap.html">segmap.html</a>. @@ -71,7 +71,7 @@ void watch_clear_pixel(uint8_t com, uint8_t seg); /** @brief Clears all segments of the display, including incicators and the colon. */ -void watch_clear_display(); +void watch_clear_display(void); /** @brief Displays a string at the given position, starting from the top left. There are ten digits. A space in any position will clear that digit. @@ -86,11 +86,11 @@ void watch_display_string(char *string, uint8_t position); /** @brief Turns the colon segment on. */ -void watch_set_colon(); +void watch_set_colon(void); /** @brief Turns the colon segment off. */ -void watch_clear_colon(); +void watch_clear_colon(void); /** @brief Sets an indicator on the LCD. Use this to turn on one of the indicator segments. * @param indicator One of the indicator segments from the enum. @see WatchIndicatorSegment @@ -105,7 +105,7 @@ void watch_clear_indicator(WatchIndicatorSegment indicator); /** @brief Clears all indicator segments. * @see WatchIndicatorSegment */ -void watch_clear_all_indicators(); +void watch_clear_all_indicators(void); /** @brief Blinks a single character in position 7. Does not affect other positions. * @details Six of the seven segments in position 7 (and only position 7) are capable of autonomous @@ -124,7 +124,7 @@ void watch_start_character_blink(char character, uint32_t duration); /** @brief Stops and clears all blinking segments. * @details This will stop all blinking in position 7, and clear all segments in that digit. */ -void watch_stop_blink(); +void watch_stop_blink(void); /** @brief Begins a two-segment "tick-tock" animation in position 8. * @details Six of the seven segments in position 8 (and only position 8) are capable of autonomous @@ -141,11 +141,11 @@ void watch_start_tick_animation(uint32_t duration); /** @brief Checks if the tick animation is currently running. * @return true if the animation is running; false otherwise. */ -bool watch_tick_animation_is_running(); +bool watch_tick_animation_is_running(void); /** @brief Stops the tick/tock animation and clears all animating segments. * @details This will stop the animation and clear all segments in position 8. */ -void watch_stop_tick_animation(); +void watch_stop_tick_animation(void); /// @} #endif |