refactoring

This commit is contained in:
Andrey 2022-12-31 14:47:29 -05:00
parent bebe581ca6
commit fda55a2dcf
1 changed files with 1 additions and 7 deletions

View File

@ -343,13 +343,7 @@ static void setFanSetting(float onTempC, float offTempC) {
}
static void setWholeTimingMap(float value) {
// todo: table helper?
efiPrintf("Setting whole timing map to %.2f", value);
for (int l = 0; l < IGN_LOAD_COUNT; l++) {
for (int r = 0; r < IGN_RPM_COUNT; r++) {
config->ignitionTable[l][r] = value;
}
}
setTable(config->ignitionTable, value);
}
static void setWholePhaseMapCmd(float value) {