mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
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.
This commit is contained in:
parent
319e90961b
commit
ba4a1ec6c4
@ -35,8 +35,8 @@
|
||||
|
||||
constexpr io_timers_t io_timers[MAX_IO_TIMERS] = {
|
||||
initIOTimer(Timer::Timer2),
|
||||
initIOTimer(Timer::Timer3),
|
||||
initIOTimer(Timer::Timer4),
|
||||
initIOTimer(Timer::Timer3),
|
||||
};
|
||||
|
||||
constexpr timer_io_channels_t timer_io_channels[MAX_TIMER_IO_CHANNELS] = {
|
||||
|
||||
@ -35,8 +35,8 @@
|
||||
|
||||
constexpr io_timers_t io_timers[MAX_IO_TIMERS] = {
|
||||
initIOTimer(Timer::Timer2),
|
||||
initIOTimer(Timer::Timer3),
|
||||
initIOTimer(Timer::Timer4),
|
||||
initIOTimer(Timer::Timer3),
|
||||
};
|
||||
|
||||
constexpr timer_io_channels_t timer_io_channels[MAX_TIMER_IO_CHANNELS] = {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user