stm32/timer: Fix Timer(4) issue for STM32G0.

The definition of TIM_ENTRY of TIM4 is incorrect.

Signed-off-by: Yuuki NAGAO <wf.yn386@gmail.com>
This commit is contained in:
Yuuki NAGAO
2025-09-21 11:51:09 +09:00
committed by Damien George
parent ddf1a383ca
commit 8632351983

View File

@@ -865,7 +865,7 @@ static const uint32_t tim_instance_table[MICROPY_HW_MAX_TIMER] = {
#if defined(TIM4)
#if defined(STM32G0B1xx) || defined(STM32G0C1xx)
TIM_ENTRY(3, TIM3_TIM4_IRQn),
TIM_ENTRY(4, TIM3_TIM4_IRQn),
#else
TIM_ENTRY(4, TIM4_IRQn),
#endif