Skip to content

Commit

Permalink
unnecessary guard
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Jan 8, 2025
1 parent 16da7a4 commit 410b307
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions firmware/controllers/engine_cycle/knock_controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -36,7 +35,6 @@ int getCylinderKnockBank(uint8_t cylinderNumber) {
return engineConfiguration->knockBankCyl11;
case 11:
return engineConfiguration->knockBankCyl12;
#endif
default:
return 0;
}
Expand Down

0 comments on commit 410b307

Please sign in to comment.