mirror of https://github.com/ArduPilot/ardupilot
Copter: disable sonar on APM1 and TradHeli on APM2
This commit is contained in:
parent
a1e707b7f9
commit
5891cd3078
|
@ -88,6 +88,11 @@
|
||||||
# define FRSKY_TELEM_ENABLED DISABLED
|
# define FRSKY_TELEM_ENABLED DISABLED
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// disable sonar on APM1 and TradHeli/APM2
|
||||||
|
#if (CONFIG_HAL_BOARD == HAL_BOARD_APM1 || (CONFIG_HAL_BOARD == HAL_BOARD_APM2 && FRAME_CONFIG == HELI_FRAME))
|
||||||
|
# define CONFIG_SONAR DISABLED
|
||||||
|
#endif
|
||||||
|
|
||||||
#if HAL_CPU_CLASS < HAL_CPU_CLASS_75 || CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
#if HAL_CPU_CLASS < HAL_CPU_CLASS_75 || CONFIG_HAL_BOARD == HAL_BOARD_AVR_SITL
|
||||||
// low power CPUs (APM1, APM2 and SITL)
|
// low power CPUs (APM1, APM2 and SITL)
|
||||||
# define MAIN_LOOP_RATE 100
|
# define MAIN_LOOP_RATE 100
|
||||||
|
|
Loading…
Reference in New Issue