auto-sync
This commit is contained in:
parent
fa443577a4
commit
94e1f44021
|
@ -349,10 +349,14 @@ static void showFsioInfo(void) {
|
|||
for (int i = 0; i < LE_COMMAND_COUNT; i++) {
|
||||
char * exp = boardConfiguration->le_formulas[i];
|
||||
if (exp[0] != 0) {
|
||||
scheduleMsg(&logger, "FSIO #%d [%s] at %s@%dHz = %f", (i + 1), exp,
|
||||
/**
|
||||
* in case of FSIO user interface indexes are starting with 0, the argument for that
|
||||
* is the fact that the target audience is more software developers
|
||||
*/
|
||||
scheduleMsg(&logger, "FSIO #%d [%s] at %s@%dHz value=%f", i, exp,
|
||||
hwPortname(boardConfiguration->fsioPins[i]), boardConfiguration->fsioFrequency[i],
|
||||
engineConfiguration2->fsioLastValue[i]);
|
||||
scheduleMsg(&logger, "user-defined #%d value=%f", (i + 1), engine->engineConfiguration2->fsioLastValue[i]);
|
||||
// scheduleMsg(&logger, "user-defined #%d value=%f", i, engine->engineConfiguration2->fsioLastValue[i]);
|
||||
showFsio(NULL, fsioLogics[i]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -265,5 +265,5 @@ int getRusEfiVersion(void) {
|
|||
return 1; // this is here to make the compiler happy about the unused array
|
||||
if (UNUSED_CCM_SIZE == 0)
|
||||
return 1; // this is here to make the compiler happy about the unused array
|
||||
return 20141210;
|
||||
return 20141212;
|
||||
}
|
||||
|
|
|
@ -175,10 +175,15 @@ void testLogicExpressions(void) {
|
|||
testExpression("10 99 max", 99);
|
||||
|
||||
testExpression("fan NOT coolant 90 > AND fan coolant 85 > AND OR", 1);
|
||||
testExpression("coolant", 100);
|
||||
testExpression("fan_off_setting", 0);
|
||||
testExpression("coolant fan_off_setting >", 1);
|
||||
|
||||
testExpression("0 1 &", 0);
|
||||
testExpression("0 1 |", 1);
|
||||
|
||||
testExpression("0 1 >", 0);
|
||||
|
||||
testExpression(FAN_CONTROL_LOGIC, 1);
|
||||
|
||||
mockRpm = 900;
|
||||
|
|
Loading…
Reference in New Issue