mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-06 19:00:27 +08:00
Sub: nail GND_EXT_BUS down to bus 1 on Pixhawk1
This commit is contained in:
committed by
Andrew Tridgell
parent
6e5e73ef2c
commit
1c19a228ac
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user