Skip to content

Commit

Permalink
new name for irq handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
joeycastillo committed Sep 19, 2024
1 parent dccad01 commit dbf31b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions watch-library/hardware/watch/watch_tcc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion watch-library/shared/watch/watch_tcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dbf31b4

Please sign in to comment.