From 52203a6bb7f98e34b3ab56f58cf646b4e1f0e76e Mon Sep 17 00:00:00 2001 From: ZOU Hetai <33616271+JXNCTED@users.noreply.github.com> Date: Fri, 6 Mar 2026 02:24:25 +0800 Subject: [PATCH] boards: hkust/nxt-dual: fix TIM3 channel order in timer config (#26667) Signed-off-by: ZOU Hetai <33616271+JXNCTED@users.noreply.github.com> --- boards/hkust/nxt-dual/src/timer_config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/hkust/nxt-dual/src/timer_config.cpp b/boards/hkust/nxt-dual/src/timer_config.cpp index 27ad0f2476..97bde311df 100644 --- a/boards/hkust/nxt-dual/src/timer_config.cpp +++ b/boards/hkust/nxt-dual/src/timer_config.cpp @@ -46,10 +46,10 @@ constexpr timer_io_channels_t timer_io_channels[MAX_TIMER_IO_CHANNELS] = { initIOTimerChannel(io_timers, {Timer::Timer1, Timer::Channel2}, {GPIO::PortE, GPIO::Pin11}), initIOTimerChannel(io_timers, {Timer::Timer1, Timer::Channel3}, {GPIO::PortE, GPIO::Pin13}), initIOTimerChannel(io_timers, {Timer::Timer1, Timer::Channel4}, {GPIO::PortE, GPIO::Pin14}), + initIOTimerChannel(io_timers, {Timer::Timer3, Timer::Channel4}, {GPIO::PortB, GPIO::Pin1}), + initIOTimerChannel(io_timers, {Timer::Timer3, Timer::Channel3}, {GPIO::PortB, GPIO::Pin0}), initIOTimerChannel(io_timers, {Timer::Timer2, Timer::Channel3}, {GPIO::PortB, GPIO::Pin10}), initIOTimerChannel(io_timers, {Timer::Timer2, Timer::Channel4}, {GPIO::PortB, GPIO::Pin11}), - initIOTimerChannel(io_timers, {Timer::Timer3, Timer::Channel3}, {GPIO::PortB, GPIO::Pin0}), - initIOTimerChannel(io_timers, {Timer::Timer3, Timer::Channel4}, {GPIO::PortB, GPIO::Pin1}), }; constexpr io_timers_channel_mapping_t io_timers_channel_mapping =