From 410b307b213c063840a044aa5809b4f1aef34795 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Tue, 7 Jan 2025 21:12:16 -0800 Subject: [PATCH] unnecessary guard --- firmware/controllers/engine_cycle/knock_controller.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/firmware/controllers/engine_cycle/knock_controller.cpp b/firmware/controllers/engine_cycle/knock_controller.cpp index 914fac1bc2..0e0b15cb6c 100644 --- a/firmware/controllers/engine_cycle/knock_controller.cpp +++ b/firmware/controllers/engine_cycle/knock_controller.cpp @@ -11,7 +11,6 @@ int getCylinderKnockBank(uint8_t cylinderNumber) { // C/C++ can't index in to bit fields, we have to provide lookup ourselves switch (cylinderNumber) { -#if EFI_PROD_CODE case 0: return engineConfiguration->knockBankCyl1; case 1: @@ -36,7 +35,6 @@ int getCylinderKnockBank(uint8_t cylinderNumber) { return engineConfiguration->knockBankCyl11; case 11: return engineConfiguration->knockBankCyl12; -#endif default: return 0; }