mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_BoardConfig: allow override of PWM count in hwdef.dat
This commit is contained in:
parent
a7711ab9f7
commit
13cf72ac32
@ -69,8 +69,12 @@
|
|||||||
|
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
|
||||||
# define BOARD_SAFETY_ENABLE_DEFAULT 1
|
# define BOARD_SAFETY_ENABLE_DEFAULT 1
|
||||||
|
#ifndef BOARD_PWM_COUNT_DEFAULT
|
||||||
# define BOARD_PWM_COUNT_DEFAULT 6
|
# define BOARD_PWM_COUNT_DEFAULT 6
|
||||||
|
#endif
|
||||||
|
#ifndef BOARD_SER1_RTSCTS_DEFAULT
|
||||||
# define BOARD_SER1_RTSCTS_DEFAULT 2
|
# define BOARD_SER1_RTSCTS_DEFAULT 2
|
||||||
|
#endif
|
||||||
# define BOARD_TYPE_DEFAULT PX4_BOARD_AUTO
|
# define BOARD_TYPE_DEFAULT PX4_BOARD_AUTO
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user