auto-sync

This commit is contained in:
rusEfi 2014-09-07 15:04:43 -05:00
parent da2190ffd0
commit ebce89834f
1 changed files with 2 additions and 0 deletions

View File

@ -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];