HAL_PX4: fixed link on aerofc-v1

it does not have bl_update
This commit is contained in:
Andrew Tridgell 2018-07-06 19:59:14 +10:00
parent 30b3d63e8a
commit 12a53ed662
1 changed files with 2 additions and 0 deletions

View File

@ -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;
}