Skip to content

Commit ba4a1ec

Browse files
bkuengdagar
authored andcommitted
boards/px4/io-v2: swap timer definitions
So that the ordering of the generated params make more sense. TIM1 is now for channels 2-4 instead of 5-8.
1 parent 319e909 commit ba4a1ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

boards/cubepilot/io-v2/src/timer_config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535

3636
constexpr io_timers_t io_timers[MAX_IO_TIMERS] = {
3737
initIOTimer(Timer::Timer2),
38-
initIOTimer(Timer::Timer3),
3938
initIOTimer(Timer::Timer4),
39+
initIOTimer(Timer::Timer3),
4040
};
4141

4242
constexpr timer_io_channels_t timer_io_channels[MAX_TIMER_IO_CHANNELS] = {

boards/px4/io-v2/src/timer_config.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535

3636
constexpr io_timers_t io_timers[MAX_IO_TIMERS] = {
3737
initIOTimer(Timer::Timer2),
38-
initIOTimer(Timer::Timer3),
3938
initIOTimer(Timer::Timer4),
39+
initIOTimer(Timer::Timer3),
4040
};
4141

4242
constexpr timer_io_channels_t timer_io_channels[MAX_TIMER_IO_CHANNELS] = {

0 commit comments

Comments
 (0)