mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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) {
|
if (state.board_type == PX4_BOARD_OLDDRIVERS) {
|
||||||
printf("Old drivers no longer supported\n");
|
printf("Old drivers no longer supported\n");
|
||||||
state.board_type = PX4_BOARD_AUTO;
|
state.board_type.set(PX4_BOARD_AUTO);
|
||||||
}
|
}
|
||||||
|
|
||||||
// run board auto-detection
|
// run board auto-detection
|
||||||
|
Loading…
Reference in New Issue
Block a user