unnecessary guard
This commit is contained in:
parent
1df1ef26b4
commit
319f153734
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue