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 Andrew Tridgell
parent 12b761c534
commit e232ccde7d
1 changed files with 2 additions and 0 deletions

View File

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