mirror of https://github.com/ArduPilot/ardupilot
HAL_PX4: fixed link on aerofc-v1
it does not have bl_update
This commit is contained in:
parent
1a12b958fc
commit
f02e944857
|
@ -268,10 +268,12 @@ extern "C" {
|
|||
|
||||
bool PX4Util::flash_bootloader()
|
||||
{
|
||||
#if !defined(CONFIG_ARCH_BOARD_AEROFC_V1)
|
||||
if (AP_BoardConfig::px4_start_driver(bl_update_main, "bl_update", "/etc/bootloader/fmu_bl.bin")) {
|
||||
hal.console->printf("updated bootloader\n");
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue