fix buzzer demo, add note about extwake

This commit is contained in:
Joey Castillo
2021-08-28 14:46:58 -04:00
parent 39bba27d7d
commit 52ba3b3710
2 changed files with 2 additions and 9 deletions

View File

@@ -73,7 +73,7 @@ void watch_disable_external_interrupts();
*/
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 instead")))
__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")))