From f02e9448578fa5fb021ec10f653128fa523f4632 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 6 Jul 2018 19:59:14 +1000 Subject: [PATCH] HAL_PX4: fixed link on aerofc-v1 it does not have bl_update --- libraries/AP_HAL_PX4/Util.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_HAL_PX4/Util.cpp b/libraries/AP_HAL_PX4/Util.cpp index aa7315a185..34896d74c0 100644 --- a/libraries/AP_HAL_PX4/Util.cpp +++ b/libraries/AP_HAL_PX4/Util.cpp @@ -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; }