From: joeycastillo Date: Thu, 19 Sep 2024 01:28:55 +0000 (-0400) Subject: new name for irq handlers X-Git-Url: https://git.earman.xyz/?a=commitdiff_plain;h=dbf31b4e2815ba52c556dc81c7c8d8e40d245a40;p=sensor-watch.git new name for irq handlers --- diff --git a/watch-library/hardware/watch/watch_tcc.c b/watch-library/hardware/watch/watch_tcc.c index 39554f8..efee7a9 100644 --- a/watch-library/hardware/watch/watch_tcc.c +++ b/watch-library/hardware/watch/watch_tcc.c @@ -132,8 +132,8 @@ void watch_buzzer_abort_sequence(void) { _tcc_write_RUNSTDBY(false); } -void TC3_Handler(void) { - // interrupt handler vor TC3 (globally!) +void irq_handler_tc3(void) { + // interrupt handler for TC3 (globally!) cb_watch_buzzer_seq(); TC3->COUNT8.INTFLAG.reg |= TC_INTFLAG_OVF; } diff --git a/watch-library/shared/watch/watch_tcc.h b/watch-library/shared/watch/watch_tcc.h index c70260e..6f965b6 100644 --- a/watch-library/shared/watch/watch_tcc.h +++ b/watch-library/shared/watch/watch_tcc.h @@ -188,7 +188,7 @@ void watch_buzzer_play_sequence(int8_t *note_sequence, void (*callback_on_end)(v void watch_buzzer_abort_sequence(void); #ifndef __EMSCRIPTEN__ -void TC3_Handler(void); +void irq_handler_tc3(void); #endif /** @addtogroup led LED Control