mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 15:43:34 +08:00
Removed CONFIG_ARCH_BOARD_AEROFC_V1 from tap_esc
Changed the CONFIG_ARCH_BOARD_AEROFC_V1 in tap_esc.cpp to TAP_ESC_NO_VERIFY_CONFIG to maintian the commitment to not have CONFIG_ARCH_BOARD_xxxx ifdef litter in the PX4 code base. TAP_ESC_NO_VERIFY_CONFIG will be removed (see todo) in aerofc-v1/board_config.h
This commit is contained in:
committed by
Lorenz Meier
parent
fa6ad99aba
commit
216ec6513a
@@ -129,6 +129,17 @@
|
||||
|
||||
#define FLASH_BASED_PARAMS
|
||||
|
||||
/*
|
||||
* The following defined is a workaround and replaces CONFIG_ARCH_BOARD_AEROFC_V1
|
||||
* in the PX4 shared source code. #ifdef ONFIG_ARCH_BOARD_xxxx should never be added
|
||||
* to the PX4 code base. Instead board_config.h should provide logical conditional
|
||||
* compilation control based on features. I.E. BORD_HAS_xxxx
|
||||
* See https://github.com/PX4/Firmware/pull/5893#pullrequestreview-9651688
|
||||
* todo:This and TAP_ESC_NO_VERIFY_CONFIG needs to be removed from the code base
|
||||
* when final HW is debugged to dermine the root cause of ignoring the verify
|
||||
*/
|
||||
#define TAP_ESC_NO_VERIFY_CONFIG /* This board can not tolerated verifying the tap esc got it's config */
|
||||
|
||||
__BEGIN_DECLS
|
||||
|
||||
/****************************************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user