summaryrefslogtreecommitdiffstats
path: root/watch-library/watch/watch_extint.h
diff options
context:
space:
mode:
authorJoey Castillo <joeycastillo@utexas.edu>2021-12-10 15:55:54 -0500
committerJoey Castillo <joeycastillo@utexas.edu>2021-12-10 15:55:54 -0500
commite4f9737e21b6489be04e43f0af23aa968dba9ac2 (patch)
tree17475ccb72febde21425530eddce606f0176e23a /watch-library/watch/watch_extint.h
parent8571bfa74f4de75fbb55b37e97de80351f5e92fe (diff)
parent762af872d2f2c977e51d6e51b8c3ad622485cc05 (diff)
downloadSensor-Watch-e4f9737e21b6489be04e43f0af23aa968dba9ac2.tar.gz
Sensor-Watch-e4f9737e21b6489be04e43f0af23aa968dba9ac2.tar.bz2
Sensor-Watch-e4f9737e21b6489be04e43f0af23aa968dba9ac2.zip
Merge branch 'main' into movement-timer-stuff
Diffstat (limited to 'watch-library/watch/watch_extint.h')
-rw-r--r--watch-library/watch/watch_extint.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/watch-library/watch/watch_extint.h b/watch-library/watch/watch_extint.h
index cba6c5e1..452461b3 100644
--- a/watch-library/watch/watch_extint.h
+++ b/watch-library/watch/watch_extint.h
@@ -49,10 +49,10 @@ typedef enum watch_interrupt_trigger {
} watch_interrupt_trigger;
/// @brief Enables the external interrupt controller.
-void watch_enable_external_interrupts();
+void watch_enable_external_interrupts(void);
/// @brief Disables the external interrupt controller.
-void watch_disable_external_interrupts();
+void watch_disable_external_interrupts(void);
/** @brief Configures an external interrupt callback on one of the external interrupt pins.
* @details You can set one interrupt callback per pin, and you can monitor for a rising condition,
@@ -80,6 +80,6 @@ __attribute__((deprecated("Use watch_register_interrupt_callback or watch_regist
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 watch_enable_buttons(void);
/// @}
#endif