From dbf31b4e2815ba52c556dc81c7c8d8e40d245a40 Mon Sep 17 00:00:00 2001 From: joeycastillo Date: Wed, 18 Sep 2024 21:28:55 -0400 Subject: [PATCH] new name for irq handlers --- watch-library/hardware/watch/watch_tcc.c | 4 ++-- watch-library/shared/watch/watch_tcc.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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