AP_HAL_ChibiOS: Explicitly include InternalError

Debug builds utilise internal error in the Util class.

The include was being passed up from Logger->LoggerMessageWriter->LoggerBackend->Bitmask.
Periph Builds tend not to have HAL_LOGGING_ENABLED, and so the include was not present.
This commit is contained in:
James O'Shannessy 2023-09-20 00:01:09 +10:00 committed by Peter Barker
parent 8e57d66a0d
commit 70bee8e67a
1 changed files with 1 additions and 0 deletions

View File

@ -27,6 +27,7 @@
#include "hwdef/common/flash.h"
#include <AP_ROMFS/AP_ROMFS.h>
#include <AP_Common/ExpandingString.h>
#include <AP_InternalError/AP_InternalError.h>
#include "sdcard.h"
#include "shared_dma.h"
#if defined(HAL_PWM_ALARM) || HAL_DSHOT_ALARM_ENABLED || HAL_CANMANAGER_ENABLED || HAL_USE_PWM == TRUE