Add never_reset reservation to RGBMatrix init
This commit is contained in:
parent
c55deb54f0
commit
c58bd4c047
@ -36,6 +36,7 @@ extern void _PM_IRQ_HANDLER(void);
|
|||||||
void *common_hal_rgbmatrix_timer_allocate() {
|
void *common_hal_rgbmatrix_timer_allocate() {
|
||||||
TIM_TypeDef * timer = stm_peripherals_find_timer();
|
TIM_TypeDef * timer = stm_peripherals_find_timer();
|
||||||
stm_peripherals_timer_reserve(timer);
|
stm_peripherals_timer_reserve(timer);
|
||||||
|
stm_peripherals_timer_never_reset(timer);
|
||||||
return timer;
|
return timer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user