diff options
author | Joey Castillo <joeycastillo@utexas.edu> | 2022-04-10 15:56:45 -0400 |
---|---|---|
committer | Joey Castillo <joeycastillo@utexas.edu> | 2022-04-10 15:56:45 -0400 |
commit | 6bdaff5d2abaeb614e98de2c9e5d0a02b439fa8f (patch) | |
tree | 40d44f526133511aec46dd83da4c66421e3d19bf /watch-library/shared/watch/watch_rtc.h | |
parent | 35172ce11a184daf409f8d6c03c6844cc5382b71 (diff) | |
download | Sensor-Watch-6bdaff5d2abaeb614e98de2c9e5d0a02b439fa8f.tar.gz Sensor-Watch-6bdaff5d2abaeb614e98de2c9e5d0a02b439fa8f.tar.bz2 Sensor-Watch-6bdaff5d2abaeb614e98de2c9e5d0a02b439fa8f.zip |
remove all deprecated functions
Diffstat (limited to 'watch-library/shared/watch/watch_rtc.h')
-rw-r--r-- | watch-library/shared/watch/watch_rtc.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/watch-library/shared/watch/watch_rtc.h b/watch-library/shared/watch/watch_rtc.h index 183e6dd0..6609e6b6 100644 --- a/watch-library/shared/watch/watch_rtc.h +++ b/watch-library/shared/watch/watch_rtc.h @@ -147,24 +147,5 @@ void watch_rtc_disable_matching_periodic_callbacks(uint8_t mask); */ void watch_rtc_disable_all_periodic_callbacks(void); -/** @brief Sets the system date and time. - * @param date_time A struct representing the date and time you wish to set. - */ -__attribute__((deprecated("Use watch_rtc_set_date_time function instead"))) -void watch_set_date_time(struct calendar_date_time date_time); - -/** @brief Returns the system date and time in the provided struct. - * @param date_time A pointer to a calendar_date_time struct. It will have with the correct date and time on return. - */ -__attribute__((deprecated("Use the watch_rtc_get_date_time function instead"))) -void watch_get_date_time(struct calendar_date_time *date_time); - -/** @brief Registers a "tick" callback that will be called once per second. - * @param callback The function you wish to have called when the clock ticks. If you pass in NULL, the tick - * interrupt will still be enabled, but no callback function will be called. - */ -__attribute__((deprecated("Use the watch_rtc_register_tick_callback function instead"))) -void watch_register_tick_callback(ext_irq_cb_t callback); - /// @} #endif |