Skip to content

Commit 23bced2

Browse files
committed
samd: actually disable protomatter timer
Just setting the timer handler to NO_INTERRUPT doesn't stop the interrupt from occurring.
1 parent baf04b7 commit 23bced2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ports/atmel-samd/common-hal/_protomatter/Protomatter.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ void common_hal_protomatter_timer_disable(void* ptr) {
6464
return;
6565
}
6666
set_timer_handler(true, timer_index, TC_HANDLER_NO_INTERRUPT);
67+
tc_set_enable(ptr, false);
6768
}
6869

6970
void common_hal_protomatter_timer_free(void* ptr) {

0 commit comments

Comments
 (0)