Skip to content

Commit c58bd4c

Browse files
committed
Add never_reset reservation to RGBMatrix init
1 parent c55deb5 commit c58bd4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ports/stm/common-hal/rgbmatrix/RGBMatrix.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ extern void _PM_IRQ_HANDLER(void);
3636
void *common_hal_rgbmatrix_timer_allocate() {
3737
TIM_TypeDef * timer = stm_peripherals_find_timer();
3838
stm_peripherals_timer_reserve(timer);
39+
stm_peripherals_timer_never_reset(timer);
3940
return timer;
4041
}
4142

0 commit comments

Comments
 (0)