mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 22:11:37 +08:00
[AutFMUv6x] Remove unused timer 2
This commit is contained in:
committed by
Niklas Hauser
parent
676fa8a883
commit
7cf9be6e10
@@ -471,7 +471,7 @@
|
|||||||
#define PX4_I2C_BUS_MTD 4,5
|
#define PX4_I2C_BUS_MTD 4,5
|
||||||
|
|
||||||
|
|
||||||
#define BOARD_NUM_IO_TIMERS 5
|
#define BOARD_NUM_IO_TIMERS 4
|
||||||
|
|
||||||
/* No CDCACM driver for this board, so this is manually defined for version.c
|
/* No CDCACM driver for this board, so this is manually defined for version.c
|
||||||
* so that the px4_board_version reports the correct board id to the companion */
|
* so that the px4_board_version reports the correct board id to the companion */
|
||||||
|
|||||||
@@ -50,8 +50,6 @@
|
|||||||
* TIM1_CH3 T SPI2_DRDY2_ISM330_INT2 < Capture or GPIO INT
|
* TIM1_CH3 T SPI2_DRDY2_ISM330_INT2 < Capture or GPIO INT
|
||||||
* TIM1_CH1 T SPIX_SYNC > Pulse or GPIO strobe
|
* TIM1_CH1 T SPIX_SYNC > Pulse or GPIO strobe
|
||||||
*
|
*
|
||||||
* TIM2_CH3 T HEATER > PWM OUT or GPIO
|
|
||||||
*
|
|
||||||
* TIM14_CH1 T BUZZER_1 - Driven by other driver
|
* TIM14_CH1 T BUZZER_1 - Driven by other driver
|
||||||
* TIM8_CH1_IN T FMU_PPM_INPUT - Sampled byt HRT by other driver
|
* TIM8_CH1_IN T FMU_PPM_INPUT - Sampled byt HRT by other driver
|
||||||
*/
|
*/
|
||||||
@@ -61,7 +59,6 @@ constexpr io_timers_t io_timers[MAX_IO_TIMERS] = {
|
|||||||
initIOTimer(Timer::Timer4, DMA{DMA::Index1}),
|
initIOTimer(Timer::Timer4, DMA{DMA::Index1}),
|
||||||
initIOTimer(Timer::Timer12),
|
initIOTimer(Timer::Timer12),
|
||||||
initIOTimer(Timer::Timer1),
|
initIOTimer(Timer::Timer1),
|
||||||
initIOTimer(Timer::Timer2),
|
|
||||||
};
|
};
|
||||||
|
|
||||||
constexpr timer_io_channels_t timer_io_channels[MAX_TIMER_IO_CHANNELS] = {
|
constexpr timer_io_channels_t timer_io_channels[MAX_TIMER_IO_CHANNELS] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user