auto-sync
This commit is contained in:
parent
a8db509257
commit
ef6fe8914c
|
@ -40,6 +40,7 @@ void setMiataNA_1_6_Configuration(DECLARE_ENGINE_PARAMETER_F) {
|
|||
* oil pressure line
|
||||
* adc4/pa4/W47
|
||||
*/
|
||||
//engineConfiguration->fsioAdc[0] =
|
||||
|
||||
|
||||
// warning light
|
||||
|
|
|
@ -144,6 +144,8 @@ static void reportSensorI(Logging *log, bool fileFormat, const char *caption, co
|
|||
EXTERN_ENGINE
|
||||
;
|
||||
|
||||
static char buf[6];
|
||||
|
||||
static void printSensors(Logging *log, bool fileFormat) {
|
||||
// current time, in milliseconds
|
||||
int nowMs = currentTimeMillis();
|
||||
|
@ -167,6 +169,7 @@ static void printSensors(Logging *log, bool fileFormat) {
|
|||
reportSensorF(log, fileFormat, "ENGINE_LOAD", "x", getEngineLoadT(), 2);
|
||||
|
||||
|
||||
|
||||
#if EFI_ANALOG_SENSORS || defined(__DOXYGEN__)
|
||||
if (engineConfiguration->hasMapSensor) {
|
||||
reportSensorF(log, fileFormat, "MAP", "kPa", getMap(), 2);
|
||||
|
@ -210,6 +213,13 @@ static void printSensors(Logging *log, bool fileFormat) {
|
|||
|
||||
// debugFloat(&logger, "tch", getTCharge1(tps), 2);
|
||||
|
||||
// todo: implement a proper loop
|
||||
if (engineConfiguration->fsioAdc[0] != EFI_ADC_NONE) {
|
||||
strcpy(buf, "adcX");
|
||||
reportSensorF(log, fileFormat, "adc0", "", getVoltage("fsio", engineConfiguration->fsioAdc[0]), 2);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue