AP_Param: disable cmdline parameters for AP_Periph

This commit is contained in:
bugobliterator 2020-10-24 21:03:25 +05:30 committed by Andrew Tridgell
parent 7253e5e394
commit 9acaa84b8f
1 changed files with 1 additions and 1 deletions

View File

@ -1489,7 +1489,7 @@ void AP_Param::reload_defaults_file(bool last_pass)
}
}
#endif
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL && !defined(HAL_BUILD_AP_PERIPH)
hal.util->set_cmdline_parameters();
#endif
}