samd: actually disable protomatter timer

Just setting the timer handler to NO_INTERRUPT doesn't stop the
interrupt from occurring.
crypto-aes
Jeff Epler 3 years ago
parent baf04b7738
commit 23bced26da
  1. 1
      ports/atmel-samd/common-hal/_protomatter/Protomatter.c

@ -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…
Cancel
Save