Browse Source

AP_BoardConfig: params always use set method

apm_2208
Iampete1 3 years ago committed by Peter Hall
parent
commit
7a5ff6b51f
  1. 2
      libraries/AP_BoardConfig/board_drivers.cpp

2
libraries/AP_BoardConfig/board_drivers.cpp

@ -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…
Cancel
Save