AP_BoardConfig: enable auto-detect only on FMUv3
F412 should not do board detection
This commit is contained in:
parent
7971f03bde
commit
b1ebbd1a1c
@ -4,7 +4,7 @@
|
||||
#include <AP_Common/AP_Common.h>
|
||||
#include <AP_Param/AP_Param.h>
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN || CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN || defined(HAL_CHIBIOS_ARCH_FMUV3)
|
||||
#define AP_FEATURE_BOARD_DETECT 1
|
||||
#define AP_FEATURE_SAFETY_BUTTON 1
|
||||
#else
|
||||
@ -12,7 +12,7 @@
|
||||
#define AP_FEATURE_SAFETY_BUTTON 0
|
||||
#endif
|
||||
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
|
||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 || defined(HAL_CHIBIOS_ARCH_FMUV3)
|
||||
#define AP_FEATURE_RTSCTS 1
|
||||
#define AP_FEATURE_SBUS_OUT 1
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user