unnecessary guard

This commit is contained in:
Matthew Kennedy 2025-01-07 21:12:16 -08:00 committed by rusefillc
parent 1df1ef26b4
commit 319f153734
1 changed files with 0 additions and 2 deletions

View File

@ -13,7 +13,6 @@
int getCylinderKnockBank(uint8_t cylinderNumber) { int getCylinderKnockBank(uint8_t cylinderNumber) {
// C/C++ can't index in to bit fields, we have to provide lookup ourselves // C/C++ can't index in to bit fields, we have to provide lookup ourselves
switch (cylinderNumber) { switch (cylinderNumber) {
#if EFI_PROD_CODE
case 0: case 0:
return engineConfiguration->knockBankCyl1; return engineConfiguration->knockBankCyl1;
case 1: case 1:
@ -38,7 +37,6 @@ int getCylinderKnockBank(uint8_t cylinderNumber) {
return engineConfiguration->knockBankCyl11; return engineConfiguration->knockBankCyl11;
case 11: case 11:
return engineConfiguration->knockBankCyl12; return engineConfiguration->knockBankCyl12;
#endif
default: default:
return 0; return 0;
} }