From 55117021497ed74b6883dc99857cc95e81755cf0 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Wed, 24 May 2023 11:15:07 -0400 Subject: [PATCH] better code guard? --- firmware/controllers/settings.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/firmware/controllers/settings.cpp b/firmware/controllers/settings.cpp index 30b8360050..bb0391696a 100644 --- a/firmware/controllers/settings.cpp +++ b/firmware/controllers/settings.cpp @@ -806,8 +806,10 @@ const command_i_s commandsI[] = {{"ignition_mode", setIgnitionMode}, {"idle_solenoid_freq", setIdleSolenoidFrequency}, {"tps_accel_len", setTpsAccelLen}, #endif // EFI_ENGINE_CONTROL -#if EFI_PROD_CODE +#if EFI_BOR_LEVEL {"bor", setBor}, +#endif // EFI_BOR_LEVEL +#if EFI_PROD_CODE #if EFI_CAN_SUPPORT {"can_mode", setCanType}, {"can_vss", setCanVss},