AP_Bootloader: correct compilation when signing enabled

In file included from ../../libraries/AP_CheckFirmware/AP_CheckFirmware.cpp:13:
../../libraries/AP_CheckFirmware/../../Tools/AP_Bootloader/support.h:57:25: error: "CH_CFG_USE_HEAP" is not defined, evaluates to 0 [-Werror=undef]
   57 | #if defined(STM32H7) && CH_CFG_USE_HEAP
      |                         ^~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
cc1plus: all warnings being treated as errors
This commit is contained in:
Peter Barker 2024-10-27 13:47:05 +09:00 committed by Peter Barker
parent b1aa82b780
commit 22499ecc39

View File

@ -1,5 +1,7 @@
#pragma once
#include <AP_HAL_ChibiOS/AP_HAL_ChibiOS.h>
#define LED_ACTIVITY 1
#define LED_BOOTLOADER 2