diff options
| author | Lucian Copeland <hierophect@gmail.com> | 2020-09-18 12:38:15 -0400 |
|---|---|---|
| committer | Lucian Copeland <hierophect@gmail.com> | 2020-09-18 12:38:15 -0400 |
| commit | c58bd4c04782efad04ffc08f77fda3efce83badb (patch) | |
| tree | de34d6c25042baddbdb214cb1bf8b4167cb83975 | |
| parent | c55deb54f0980a564353dcfc983938c07907432e (diff) | |
Add never_reset reservation to RGBMatrix init
| -rw-r--r-- | ports/stm/common-hal/rgbmatrix/RGBMatrix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ports/stm/common-hal/rgbmatrix/RGBMatrix.c b/ports/stm/common-hal/rgbmatrix/RGBMatrix.c index 3b42631ad..2826cf53e 100644 --- a/ports/stm/common-hal/rgbmatrix/RGBMatrix.c +++ b/ports/stm/common-hal/rgbmatrix/RGBMatrix.c @@ -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; } |
