diff --git a/boards/matek/h743-slim/src/board_config.h b/boards/matek/h743-slim/src/board_config.h index 9653dbb43f..f977a2e8dd 100644 --- a/boards/matek/h743-slim/src/board_config.h +++ b/boards/matek/h743-slim/src/board_config.h @@ -111,8 +111,8 @@ /* PWM */ -#define DIRECT_PWM_OUTPUT_CHANNELS 10 -#define DIRECT_INPUT_TIMER_CHANNELS 10 +#define DIRECT_PWM_OUTPUT_CHANNELS 12 +#define DIRECT_INPUT_TIMER_CHANNELS 12 #define BOARD_HAS_PWM DIRECT_PWM_OUTPUT_CHANNELS diff --git a/boards/matek/h743-slim/src/timer_config.cpp b/boards/matek/h743-slim/src/timer_config.cpp index 3f1ac93e6f..e862bf2a7a 100644 --- a/boards/matek/h743-slim/src/timer_config.cpp +++ b/boards/matek/h743-slim/src/timer_config.cpp @@ -49,10 +49,10 @@ constexpr timer_io_channels_t timer_io_channels[MAX_TIMER_IO_CHANNELS] = { initIOTimerChannel(io_timers, {Timer::Timer5, Timer::Channel4}, {GPIO::PortA, GPIO::Pin3}), initIOTimerChannel(io_timers, {Timer::Timer4, Timer::Channel1}, {GPIO::PortD, GPIO::Pin12}), initIOTimerChannel(io_timers, {Timer::Timer4, Timer::Channel2}, {GPIO::PortD, GPIO::Pin13}), + initIOTimerChannel(io_timers, {Timer::Timer4, Timer::Channel3}, {GPIO::PortD, GPIO::Pin14}), + initIOTimerChannel(io_timers, {Timer::Timer4, Timer::Channel4}, {GPIO::PortD, GPIO::Pin15}), initIOTimerChannel(io_timers, {Timer::Timer15, Timer::Channel1}, {GPIO::PortE, GPIO::Pin5}), initIOTimerChannel(io_timers, {Timer::Timer15, Timer::Channel2}, {GPIO::PortE, GPIO::Pin6}), - // initIOTimerChannel(io_timers, {Timer::Timer4, Timer::Channel3}, {GPIO::PortD, GPIO::Pin14}), - // initIOTimerChannel(io_timers, {Timer::Timer4, Timer::Channel4}, {GPIO::PortD, GPIO::Pin15}), }; constexpr io_timers_channel_mapping_t io_timers_channel_mapping =