diff --git a/firmware/config/stm32f4ems/efifeatures.h b/firmware/config/stm32f4ems/efifeatures.h index 72e617f8ad..91a53577fd 100644 --- a/firmware/config/stm32f4ems/efifeatures.h +++ b/firmware/config/stm32f4ems/efifeatures.h @@ -10,6 +10,8 @@ #pragma once +#include + #define EFI_GPIO_HARDWARE TRUE #ifndef SENT_CHANNELS_NUM @@ -36,6 +38,10 @@ #define EFI_BACKUP_SRAM TRUE #endif +#ifndef EFI_HELLA_OIL +#define EFI_HELLA_OIL FALSE +#endif + #ifndef EFI_USE_OPENBLT #define EFI_USE_OPENBLT FALSE #endif diff --git a/firmware/hw_layer/pin_repository.cpp b/firmware/hw_layer/pin_repository.cpp index d5b3f0a839..001a1e77f3 100644 --- a/firmware/hw_layer/pin_repository.cpp +++ b/firmware/hw_layer/pin_repository.cpp @@ -49,7 +49,7 @@ int brainPin_to_index(Gpio brainPin) { */ bool brain_pin_markUsed(Gpio brainPin, const char *msg) { -#if ! EFI_BOOTLOADER +#ifndef EFI_BOOTLOADER efiPrintf("pin_markUsed: %s on %s", msg, hwPortname(brainPin)); #endif @@ -79,7 +79,7 @@ bool brain_pin_markUsed(Gpio brainPin, const char *msg) { */ void brain_pin_markUnused(brain_pin_e brainPin) { -#if ! EFI_BOOTLOADER +#ifndef EFI_BOOTLOADER efiPrintf("pin_markUnused: %s", hwPortname(brainPin)); #endif int index = brainPin_to_index(brainPin);