diff --git a/src/drivers/boards/px4io-v1/px4io_timer_config.c b/src/drivers/boards/px4io-v1/px4io_timer_config.c index c1e386e839..6754f81ce7 100644 --- a/src/drivers/boards/px4io-v1/px4io_timer_config.c +++ b/src/drivers/boards/px4io-v1/px4io_timer_config.c @@ -66,8 +66,8 @@ __EXPORT const io_timers_t io_timers[MAX_IO_TIMERS] = { .clock_register = STM32_RCC_APB1ENR, .clock_bit = RCC_APB1ENR_TIM3EN, .clock_freq = STM32_APB1_TIM3_CLKIN, - .first_channel_index = 2, - .last_channel_index = 3, + .first_channel_index = 4, + .last_channel_index = 7, .handler = io_timer_handler1, .vectorno = STM32_IRQ_TIM3, }, @@ -76,8 +76,8 @@ __EXPORT const io_timers_t io_timers[MAX_IO_TIMERS] = { .clock_register = STM32_RCC_APB1ENR, .clock_bit = RCC_APB1ENR_TIM4EN, .clock_freq = STM32_APB1_TIM4_CLKIN, - .first_channel_index = 4, - .last_channel_index = 7, + .first_channel_index = 2, + .last_channel_index = 3, .handler = io_timer_handler2, .vectorno = STM32_IRQ_TIM4, } diff --git a/src/drivers/boards/px4io-v2/px4io_timer_config.c b/src/drivers/boards/px4io-v2/px4io_timer_config.c index c10f03ff15..7d75d4c5b1 100644 --- a/src/drivers/boards/px4io-v2/px4io_timer_config.c +++ b/src/drivers/boards/px4io-v2/px4io_timer_config.c @@ -66,8 +66,8 @@ __EXPORT const io_timers_t io_timers[MAX_IO_TIMERS] = { .clock_register = STM32_RCC_APB1ENR, .clock_bit = RCC_APB1ENR_TIM3EN, .clock_freq = STM32_APB1_TIM3_CLKIN, - .first_channel_index = 2, - .last_channel_index = 3, + .first_channel_index = 4, + .last_channel_index = 7, .handler = io_timer_handler1, .vectorno = STM32_IRQ_TIM3, }, @@ -76,8 +76,8 @@ __EXPORT const io_timers_t io_timers[MAX_IO_TIMERS] = { .clock_register = STM32_RCC_APB1ENR, .clock_bit = RCC_APB1ENR_TIM4EN, .clock_freq = STM32_APB1_TIM4_CLKIN, - .first_channel_index = 4, - .last_channel_index = 7, + .first_channel_index = 2, + .last_channel_index = 3, .handler = io_timer_handler2, .vectorno = STM32_IRQ_TIM4, }