auto-sync

This commit is contained in:
rusEfi 2014-09-05 14:02:55 -05:00
parent 88b0fa2962
commit bdd7c366e9
2 changed files with 16 additions and 12 deletions

View File

@ -206,8 +206,7 @@ static systime_t timeOfPreviousPrintVersion = (systime_t) -1;
#if EFI_PROD_CODE #if EFI_PROD_CODE
static void printOutPin(const char *pinName, brain_pin_e hwPin) { static void printOutPin(const char *pinName, brain_pin_e hwPin) {
appendPrintf(&logger, "outpin%s%s@%s%s", DELIMETER, pinName, appendPrintf(&logger, "outpin%s%s@%s%s", DELIMETER, pinName, hwPortname(hwPin), DELIMETER);
hwPortname(hwPin), DELIMETER);
} }
#endif /* EFI_PROD_CODE */ #endif /* EFI_PROD_CODE */
@ -308,6 +307,10 @@ static void showFuelMap2(float rpm, float engineLoad) {
float baseFuel = getBaseTableFuel((int) rpm, engineLoad); float baseFuel = getBaseTableFuel((int) rpm, engineLoad);
scheduleMsg(&logger2, "algo=%s", algorithmToString(engineConfiguration->algorithm)); scheduleMsg(&logger2, "algo=%s", algorithmToString(engineConfiguration->algorithm));
if (isCrankingR(rpm)) {
scheduleMsg(&logger2, "cranking fuel: %f", getCrankingFuel());
} else {
float iatCorrection = getIatCorrection(getIntakeAirTemperature()); float iatCorrection = getIatCorrection(getIntakeAirTemperature());
float cltCorrection = getCltCorrection(getCoolantTemperature()); float cltCorrection = getCltCorrection(getCoolantTemperature());
float injectorLag = getInjectorLag(getVBatt()); float injectorLag = getInjectorLag(getVBatt());
@ -320,6 +323,7 @@ static void showFuelMap2(float rpm, float engineLoad) {
float value = getRunningFuel(baseFuel, &engine, (int) rpm); float value = getRunningFuel(baseFuel, &engine, (int) rpm);
scheduleMsg(&logger2, "injection pulse width: %f", value); scheduleMsg(&logger2, "injection pulse width: %f", value);
} }
}
static void showFuelMap(void) { static void showFuelMap(void) {
showFuelMap2((float) getRpm(), getEngineLoad()); showFuelMap2((float) getRpm(), getEngineLoad());

View File

@ -229,5 +229,5 @@ void firmwareError(const char *fmt, ...) {
} }
int getRusEfiVersion(void) { int getRusEfiVersion(void) {
return 20140904; return 20140905;
} }