diff --git a/firmware/main.cpp b/firmware/main.cpp index cdd472d305..d074bc0f3d 100644 --- a/firmware/main.cpp +++ b/firmware/main.cpp @@ -11,7 +11,6 @@ #include "os_access.h" #include "rusefi.h" #include "mpu_util.h" -#include "version_check.h" int main(void) { /* diff --git a/firmware/pch/pch.h b/firmware/pch/pch.h index 1dd48a2b93..50a13ddb17 100644 --- a/firmware/pch/pch.h +++ b/firmware/pch/pch.h @@ -37,6 +37,10 @@ #include "hardware.h" #include "thread_priority.h" +#if EFI_PROD_CODE +#include "version_check.h" +#endif + #if EFI_UNIT_TEST #include #include