mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-20 15:48:29 -04:00
AP_BoardConfig: removed F4Light
This commit is contained in:
parent
14172d69d5
commit
8a8308df38
@ -211,12 +211,6 @@ const AP_Param::GroupInfo AP_BoardConfig::var_info[] = {
|
|||||||
AP_SUBGROUPINFO(_radio, "RADIO", 11, AP_BoardConfig, AP_Radio),
|
AP_SUBGROUPINFO(_radio, "RADIO", 11, AP_BoardConfig, AP_Radio),
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAL_NEEDS_PARAM_HELPER)
|
|
||||||
// @Group: ""
|
|
||||||
// @Path: ../libraries/AP_Param_Helper/AP_Param_Helper.cpp
|
|
||||||
AP_SUBGROUPINFO(param_helper, "", 12, AP_BoardConfig, AP_Param_Helper),
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if HAL_HAVE_SAFETY_SWITCH
|
#if HAL_HAVE_SAFETY_SWITCH
|
||||||
// @Param: SAFETYOPTION
|
// @Param: SAFETYOPTION
|
||||||
// @DisplayName: Options for safety button behavior
|
// @DisplayName: Options for safety button behavior
|
||||||
|
@ -5,10 +5,6 @@
|
|||||||
#include <AP_Param/AP_Param.h>
|
#include <AP_Param/AP_Param.h>
|
||||||
#include <AP_RTC/AP_RTC.h>
|
#include <AP_RTC/AP_RTC.h>
|
||||||
|
|
||||||
#if defined(HAL_NEEDS_PARAM_HELPER)
|
|
||||||
#include <AP_Param_Helper/AP_Param_Helper.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN || defined(HAL_CHIBIOS_ARCH_FMUV3) || defined(HAL_CHIBIOS_ARCH_FMUV4) || defined(HAL_CHIBIOS_ARCH_FMUV5) || defined(HAL_CHIBIOS_ARCH_MINDPXV2) || defined(HAL_CHIBIOS_ARCH_FMUV4PRO) || defined(HAL_CHIBIOS_ARCH_BRAINV52) || defined(HAL_CHIBIOS_ARCH_UBRAINV51)
|
#if CONFIG_HAL_BOARD == HAL_BOARD_PX4 || CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN || defined(HAL_CHIBIOS_ARCH_FMUV3) || defined(HAL_CHIBIOS_ARCH_FMUV4) || defined(HAL_CHIBIOS_ARCH_FMUV5) || defined(HAL_CHIBIOS_ARCH_MINDPXV2) || defined(HAL_CHIBIOS_ARCH_FMUV4PRO) || defined(HAL_CHIBIOS_ARCH_BRAINV52) || defined(HAL_CHIBIOS_ARCH_UBRAINV51)
|
||||||
#define AP_FEATURE_BOARD_DETECT 1
|
#define AP_FEATURE_BOARD_DETECT 1
|
||||||
#else
|
#else
|
||||||
@ -220,11 +216,6 @@ private:
|
|||||||
AP_Radio _radio;
|
AP_Radio _radio;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAL_NEEDS_PARAM_HELPER)
|
|
||||||
// HAL specific parameters
|
|
||||||
AP_Param_Helper param_helper{false};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// real-time-clock; private because access is via the singleton
|
// real-time-clock; private because access is via the singleton
|
||||||
AP_RTC rtc;
|
AP_RTC rtc;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user