AP_HAL: removed unnecessary subtypes

This commit is contained in:
Andrew Tridgell 2020-03-14 07:40:20 +11:00 committed by Peter Barker
parent 986ad0dc27
commit add7615ed9

View File

@ -40,23 +40,17 @@
#define HAL_BOARD_SUBTYPE_LINUX_POCKET 1022
#define HAL_BOARD_SUBTYPE_LINUX_NAVIGATOR 1023
/* HAL CHIBIOS sub-types, starting at 5000 */
/* HAL CHIBIOS sub-types, starting at 5000
NOTE!! Do not add more subtypes unless they are really needed. Most
boards do not need a subtype defined. It is only needed if we need
to use #ifdef'd code to change behaviour
*/
#define HAL_BOARD_SUBTYPE_CHIBIOS_SKYVIPER_F412 5000
#define HAL_BOARD_SUBTYPE_CHIBIOS_FMUV3 5001
#define HAL_BOARD_SUBTYPE_CHIBIOS_FMUV4 5002
#define HAL_BOARD_SUBTYPE_CHIBIOS_MINDPXV2 5003
#define HAL_BOARD_SUBTYPE_CHIBIOS_SPARKY2 5004
#define HAL_BOARD_SUBTYPE_CHIBIOS_REVOMINI 5005
#define HAL_BOARD_SUBTYPE_CHIBIOS_MINIPIX 5006
#define HAL_BOARD_SUBTYPE_CHIBIOS_CRAZYFLIE2 5007
#define HAL_BOARD_SUBTYPE_CHIBIOS_OMNIBUSF7V2 5008
#define HAL_BOARD_SUBTYPE_CHIBIOS_GENERIC 5009
#define HAL_BOARD_SUBTYPE_CHIBIOS_F4BY 5010
#define HAL_BOARD_SUBTYPE_CHIBIOS_OMNIBUSF4PRO 5011
#define HAL_BOARD_SUBTYPE_CHIBIOS_AIRBOTF4 5012
#define HAL_BOARD_SUBTYPE_CHIBIOS_FMUV5 5013
#define HAL_BOARD_SUBTYPE_CHIBIOS_MATEKF405WING 5014
#define HAL_BOARD_SUBTYPE_CHIBIOS_FMUV4PRO 5015
#define HAL_BOARD_SUBTYPE_CHIBIOS_VRBRAIN_V51 5016
#define HAL_BOARD_SUBTYPE_CHIBIOS_VRBRAIN_V52 5017
#define HAL_BOARD_SUBTYPE_CHIBIOS_VRUBRAIN_V51 5018