AP_BoardConfig: added AUAV21 board type

unfortunately this uses the same sensor types as the PHMini, which
means we can't auto-detect the difference between them.
This commit is contained in:
Andrew Tridgell 2017-03-01 12:41:53 +11:00 committed by Randy Mackay
parent d79403707b
commit 1989f31ae3
2 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,7 @@ public:
PX4_BOARD_PIXRACER = 4,
PX4_BOARD_PHMINI = 5,
PX4_BOARD_PH2SLIM = 6,
PX4_BOARD_AUAV21 = 7,
PX4_BOARD_OLDDRIVERS = 100,
#endif
#if CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN

View File

@ -322,6 +322,7 @@ void AP_BoardConfig::px4_setup_drivers(void)
case PX4_BOARD_PIXHAWK2:
case PX4_BOARD_PIXRACER:
case PX4_BOARD_PHMINI:
case PX4_BOARD_AUAV21:
case PX4_BOARD_PH2SLIM:
break;
default: