mirror of https://github.com/ArduPilot/ardupilot
AP_BoardConfig: params always use set method
This commit is contained in:
parent
cacbd2579d
commit
7a5ff6b51f
|
@ -75,7 +75,7 @@ void AP_BoardConfig::board_setup_drivers(void)
|
|||
{
|
||||
if (state.board_type == PX4_BOARD_OLDDRIVERS) {
|
||||
printf("Old drivers no longer supported\n");
|
||||
state.board_type = PX4_BOARD_AUTO;
|
||||
state.board_type.set(PX4_BOARD_AUTO);
|
||||
}
|
||||
|
||||
// run board auto-detection
|
||||
|
|
Loading…
Reference in New Issue