summaryrefslogtreecommitdiffstats
path: root/watch-library/hardware/watch/watch_extint.c
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/hardware/watch/watch_extint.c
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/hardware/watch/watch_extint.c')
-rw-r--r--watch-library/hardware/watch/watch_extint.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/watch-library/hardware/watch/watch_extint.c b/watch-library/hardware/watch/watch_extint.c
index 5924b646..13e8eaa3 100644
--- a/watch-library/hardware/watch/watch_extint.c
+++ b/watch-library/hardware/watch/watch_extint.c
@@ -101,11 +101,3 @@ void watch_register_interrupt_callback(const uint8_t pin, ext_irq_cb_t callback,
ext_irq_register(pin, callback);
}
-
-inline void watch_register_button_callback(const uint8_t pin, ext_irq_cb_t callback) {
- watch_register_interrupt_callback(pin, callback, INTERRUPT_TRIGGER_RISING);
-}
-
-inline void watch_enable_buttons(void) {
- watch_enable_external_interrupts();
-}