mirror of https://github.com/rusefi/rusefi-1.git
auto-sync
This commit is contained in:
parent
573b80d094
commit
b695d36d28
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
#include "engine_configuration.h"
|
#include "engine_configuration.h"
|
||||||
|
|
||||||
#define FLASH_DATA_VERSION 4635
|
#define FLASH_DATA_VERSION 5014
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C"
|
extern "C"
|
||||||
|
|
|
@ -272,6 +272,11 @@ static void printThermistor(const char *msg, Thermistor *thermistor) {
|
||||||
thermistor->config->s_h_b, thermistor->config->s_h_c);
|
thermistor->config->s_h_b, thermistor->config->s_h_c);
|
||||||
#if EFI_ANALOG_INPUTS
|
#if EFI_ANALOG_INPUTS
|
||||||
scheduleMsg(&logger, "@%s", getPinNameByAdcChannel(adcChannel, pinNameBuffer));
|
scheduleMsg(&logger, "@%s", getPinNameByAdcChannel(adcChannel, pinNameBuffer));
|
||||||
|
|
||||||
|
float value = getResistance(thermistor);
|
||||||
|
|
||||||
|
scheduleMsg(&logger, "%s R=%f on channel %d@%s", msg, value, adcChannel,
|
||||||
|
getPinNameByAdcChannel(adcChannel, pinNameBuffer));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -313,17 +318,7 @@ static void printTemperatureInfo(void) {
|
||||||
scheduleMsg(&logger, "IAT sensing error");
|
scheduleMsg(&logger, "IAT sensing error");
|
||||||
}
|
}
|
||||||
|
|
||||||
float rClt = getResistance(&engineConfiguration2->clt);
|
|
||||||
float rIat = getResistance(&engineConfiguration2->iat);
|
|
||||||
|
|
||||||
#if EFI_ANALOG_INPUTS
|
#if EFI_ANALOG_INPUTS
|
||||||
adc_channel_e cltChannel = engineConfiguration2->clt.channel;
|
|
||||||
scheduleMsg(&logger, "CLT R=%f on channel %d@%s", rClt, cltChannel,
|
|
||||||
getPinNameByAdcChannel(cltChannel, pinNameBuffer));
|
|
||||||
adc_channel_e iatChannel = engineConfiguration2->iat.channel;
|
|
||||||
scheduleMsg(&logger, "IAT R=%f on channel %d@%s", rIat, iatChannel,
|
|
||||||
getPinNameByAdcChannel(iatChannel, pinNameBuffer));
|
|
||||||
|
|
||||||
scheduleMsg(&logger, "cranking fuel %fms @ %fC", engineConfiguration->crankingSettings.fuelAtMinTempMs,
|
scheduleMsg(&logger, "cranking fuel %fms @ %fC", engineConfiguration->crankingSettings.fuelAtMinTempMs,
|
||||||
engineConfiguration->crankingSettings.coolantTempMinC);
|
engineConfiguration->crankingSettings.coolantTempMinC);
|
||||||
scheduleMsg(&logger, "cranking fuel %fms @ %fC", engineConfiguration->crankingSettings.fuelAtMaxTempMs,
|
scheduleMsg(&logger, "cranking fuel %fms @ %fC", engineConfiguration->crankingSettings.fuelAtMaxTempMs,
|
||||||
|
|
|
@ -249,5 +249,5 @@ void firmwareError(const char *fmt, ...) {
|
||||||
}
|
}
|
||||||
|
|
||||||
int getRusEfiVersion(void) {
|
int getRusEfiVersion(void) {
|
||||||
return 20141030;
|
return 20141031;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue