Sub: nail GND_EXT_BUS down to bus 1 on Pixhawk1

This commit is contained in:
Peter Barker 2020-12-04 11:14:00 +11:00 committed by Andrew Tridgell
parent 6e5e73ef2c
commit 1c19a228ac
1 changed files with 3 additions and 0 deletions

View File

@ -42,6 +42,9 @@ void Sub::init_ardupilot()
case AP_BoardConfig::PX4_BOARD_PIXHAWK2:
AP_Param::set_default_by_name("GND_EXT_BUS", 0);
break;
case AP_BoardConfig::PX4_BOARD_PIXHAWK:
AP_Param::set_by_name("GND_EXT_BUS", 1);
break;
default:
AP_Param::set_default_by_name("GND_EXT_BUS", 1);
break;