samd: actually disable protomatter timer
Just setting the timer handler to NO_INTERRUPT doesn't stop the interrupt from occurring.
This commit is contained in:
parent
baf04b7738
commit
23bced26da
|
@ -64,6 +64,7 @@ void common_hal_protomatter_timer_disable(void* ptr) {
|
|||
return;
|
||||
}
|
||||
set_timer_handler(true, timer_index, TC_HANDLER_NO_INTERRUPT);
|
||||
tc_set_enable(ptr, false);
|
||||
}
|
||||
|
||||
void common_hal_protomatter_timer_free(void* ptr) {
|
||||
|
|
Loading…
Reference in New Issue