summaryrefslogtreecommitdiffstats
path: root/watch-library/shared
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2022-04-10 15:56:45 -0400
committerJoey Castillo <joeycastillo@utexas.edu>2022-04-10 15:56:45 -0400
commit6bdaff5d2abaeb614e98de2c9e5d0a02b439fa8f (patch)
tree40d44f526133511aec46dd83da4c66421e3d19bf /watch-library/shared
parent35172ce11a184daf409f8d6c03c6844cc5382b71 (diff)
downloadSensor-Watch-6bdaff5d2abaeb614e98de2c9e5d0a02b439fa8f.tar.gz
Sensor-Watch-6bdaff5d2abaeb614e98de2c9e5d0a02b439fa8f.tar.bz2
Sensor-Watch-6bdaff5d2abaeb614e98de2c9e5d0a02b439fa8f.zip
remove all deprecated functions
Diffstat (limited to 'watch-library/shared')
-rw-r--r--watch-library/shared/watch/watch_deepsleep.h5
-rw-r--r--watch-library/shared/watch/watch_extint.h5
-rw-r--r--watch-library/shared/watch/watch_led.h5
-rw-r--r--watch-library/shared/watch/watch_rtc.h19
-rw-r--r--watch-library/shared/watch/watch_uart.h19
5 files changed, 0 insertions, 53 deletions
diff --git a/watch-library/shared/watch/watch_deepsleep.h b/watch-library/shared/watch/watch_deepsleep.h
index f3ba7091..75a0a3d0 100644
--- a/watch-library/shared/watch/watch_deepsleep.h
+++ b/watch-library/shared/watch/watch_deepsleep.h
@@ -151,10 +151,5 @@ void watch_enter_deep_sleep_mode(void);
*/
void watch_enter_backup_mode(void);
-__attribute__((deprecated("Use watch_enter_sleep_mode or watch_enter_deep_sleep_mode instead")))
-void watch_enter_shallow_sleep(bool display_on);
-
-__attribute__((deprecated("Use watch_enter_backup_mode instead")))
-void watch_enter_deep_sleep(void);
/// @}
#endif
diff --git a/watch-library/shared/watch/watch_extint.h b/watch-library/shared/watch/watch_extint.h
index 452461b3..84194e9a 100644
--- a/watch-library/shared/watch/watch_extint.h
+++ b/watch-library/shared/watch/watch_extint.h
@@ -76,10 +76,5 @@ void watch_disable_external_interrupts(void);
*/
void watch_register_interrupt_callback(const uint8_t pin, ext_irq_cb_t callback, watch_interrupt_trigger trigger);
-__attribute__((deprecated("Use watch_register_interrupt_callback or watch_register_extwake_callback instead")))
-void watch_register_button_callback(const uint8_t pin, ext_irq_cb_t callback);
-
-__attribute__((deprecated("Use watch_enable_external_interrupts instead")))
-void watch_enable_buttons(void);
/// @}
#endif
diff --git a/watch-library/shared/watch/watch_led.h b/watch-library/shared/watch/watch_led.h
index 9e9f5640..7e2dea2e 100644
--- a/watch-library/shared/watch/watch_led.h
+++ b/watch-library/shared/watch/watch_led.h
@@ -84,10 +84,5 @@ void watch_set_led_yellow(void);
/** @brief Turns both the red and the green LEDs off. */
void watch_set_led_off(void);
-__attribute__((deprecated("Use watch_enable_leds instead")))
-void watch_enable_led(bool unused);
-
-__attribute__((deprecated("Use watch_disable_leds instead")))
-void watch_disable_led(bool unused);
/// @}
#endif
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
diff --git a/watch-library/shared/watch/watch_uart.h b/watch-library/shared/watch/watch_uart.h
index 79fcd53a..3d7ee778 100644
--- a/watch-library/shared/watch/watch_uart.h
+++ b/watch-library/shared/watch/watch_uart.h
@@ -52,24 +52,5 @@ void watch_uart_puts(char *s);
*/
char watch_uart_getc(void);
-// Begin deprecated functions:
-
-/** @brief Initializes the debug UART.
- * @param baud The baud rate
- */
-__attribute__((deprecated("Use watch_enable_uart to enable the UART.")))
-void watch_enable_debug_uart(uint32_t baud);
-
-/** @brief Outputs a single character on the debug UART.
- * @param c The character you wish to output.
- */
-__attribute__((deprecated("Use watch_uart_puts to print to the UART, or printf to log debug messages over USB.")))
-void watch_debug_putc(char c);
-
-/** @brief Outputs a string on the debug UART.
- * @param s A null-terminated string.
- */
-__attribute__((deprecated("Use watch_uart_puts to print to the UART, or printf to log debug messages over USB.")))
-void watch_debug_puts(char *s);
/// @}
#endif