micro-optimization: replacing by-referece access with direct static access for real firmware
This commit is contained in:
parent
99bed7b613
commit
623776d185
|
@ -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");
|
||||||
|
|
Loading…
Reference in New Issue