micro-optimization: replacing by-referece access with direct static access for real firmware

This commit is contained in:
rusefi 2019-11-13 21:43:24 -05:00
parent 99bed7b613
commit 623776d185
1 changed files with 1 additions and 1 deletions

View File

@ -287,7 +287,7 @@ bool LECalculator::processElement(LEElement *element DECLARE_ENGINE_PARAMETER_SU
push(element->action, getVoltage("fsio", engineConfiguration->fsioAdc[0] PASS_ENGINE_PARAMETER_SUFFIX)); push(element->action, getVoltage("fsio", engineConfiguration->fsioAdc[0] PASS_ENGINE_PARAMETER_SUFFIX));
break; break;
case LE_METHOD_KNOCK: case LE_METHOD_KNOCK:
push(element->action, engine->knockCount); push(element->action, ENGINE(knockCount));
break; break;
case LE_UNDEFINED: case LE_UNDEFINED:
warning(CUSTOM_UNKNOWN_FSIO, "FSIO undefined action"); warning(CUSTOM_UNKNOWN_FSIO, "FSIO undefined action");