auto-sync
This commit is contained in:
parent
da2190ffd0
commit
ebce89834f
|
@ -71,12 +71,14 @@ static void setDefaultAspireMaps(engine_configuration_s *engineConfiguration) {
|
||||||
setTimingLoadBin(engineConfiguration, 1.2, 4.4);
|
setTimingLoadBin(engineConfiguration, 1.2, 4.4);
|
||||||
setTimingRpmBin(engineConfiguration, 800, 7000);
|
setTimingRpmBin(engineConfiguration, 800, 7000);
|
||||||
|
|
||||||
|
// todo: extract an array16x16 type? extract a method?
|
||||||
for (int k = 0; k < FUEL_LOAD_COUNT; k++) {
|
for (int k = 0; k < FUEL_LOAD_COUNT; k++) {
|
||||||
for (int r = 0; r < FUEL_RPM_COUNT; r++) {
|
for (int r = 0; r < FUEL_RPM_COUNT; r++) {
|
||||||
engineConfiguration->fuelTable[k][r] = default_aspire_fuel_table[k][r];
|
engineConfiguration->fuelTable[k][r] = default_aspire_fuel_table[k][r];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// todo: extract an array16x16 type? extract a method?
|
||||||
for (int k = 0; k < AD_LOAD_COUNT; k++) {
|
for (int k = 0; k < AD_LOAD_COUNT; k++) {
|
||||||
for (int r = 0; r < AD_RPM_COUNT; r++) {
|
for (int r = 0; r < AD_RPM_COUNT; r++) {
|
||||||
engineConfiguration->ignitionTable[k][r] = default_aspire_timing_table[k][r];
|
engineConfiguration->ignitionTable[k][r] = default_aspire_timing_table[k][r];
|
||||||
|
|
Loading…
Reference in New Issue