Add never_reset reservation to RGBMatrix init

This commit is contained in:
Lucian Copeland 2020-09-18 12:38:15 -04:00
parent c55deb54f0
commit c58bd4c047

View File

@ -36,6 +36,7 @@ extern void _PM_IRQ_HANDLER(void);
void *common_hal_rgbmatrix_timer_allocate() {
TIM_TypeDef * timer = stm_peripherals_find_timer();
stm_peripherals_timer_reserve(timer);
stm_peripherals_timer_never_reset(timer);
return timer;
}