mirror of https://github.com/FOME-Tech/fome-fw.git
auto-sync
This commit is contained in:
parent
4c4c17bddb
commit
7937f97ffb
|
@ -112,9 +112,15 @@ void printTsStats(void) {
|
||||||
portname(TS_SERIAL_TX_PORT), TS_SERIAL_TX_PIN, boardConfiguration->tunerStudioSerialSpeed);
|
portname(TS_SERIAL_TX_PORT), TS_SERIAL_TX_PIN, boardConfiguration->tunerStudioSerialSpeed);
|
||||||
}
|
}
|
||||||
#endif /* EFI_PROD_CODE */
|
#endif /* EFI_PROD_CODE */
|
||||||
scheduleMsg(tsLogger, "TunerStudio total/error counter=%d/%d H=%d / O counter=%d size=%d / P=%d / B=%d", tsCounter, tsState.errorCounter, tsState.queryCommandCounter, tsState.outputChannelsCommandCounter,
|
scheduleMsg(tsLogger, "TunerStudio size=%d / total=%d / errors=%d / H=%d / O=%d / P=%d / B=%d",
|
||||||
sizeof(tsOutputChannels), tsState.readPageCommandsCounter, tsState.burnCommandCounter);
|
sizeof(tsOutputChannels),
|
||||||
scheduleMsg(tsLogger, "TunerStudio W counter=%d / C = %d / P = %d / current page %d", tsState.writeValueCommandCounter, tsState.writeChunkCommandCounter,
|
tsCounter,
|
||||||
|
tsState.errorCounter,
|
||||||
|
tsState.queryCommandCounter,
|
||||||
|
tsState.outputChannelsCommandCounter,
|
||||||
|
tsState.readPageCommandsCounter,
|
||||||
|
tsState.burnCommandCounter);
|
||||||
|
scheduleMsg(tsLogger, "TunerStudio W=%d / C=%d / P=%d / page=%d", tsState.writeValueCommandCounter, tsState.writeChunkCommandCounter,
|
||||||
tsState.pageCommandCounter, tsState.currentPageId);
|
tsState.pageCommandCounter, tsState.currentPageId);
|
||||||
scheduleMsg(tsLogger, "page size=%d", sizeof(engine_configuration_s));
|
scheduleMsg(tsLogger, "page size=%d", sizeof(engine_configuration_s));
|
||||||
|
|
||||||
|
@ -124,14 +130,14 @@ void printTsStats(void) {
|
||||||
// int fuelMapOffset = (int) (&engineConfiguration->fuelTable) - (int) engineConfiguration;
|
// int fuelMapOffset = (int) (&engineConfiguration->fuelTable) - (int) engineConfiguration;
|
||||||
// scheduleMsg(logger, "fuelTable %d", fuelMapOffset);
|
// scheduleMsg(logger, "fuelTable %d", fuelMapOffset);
|
||||||
//
|
//
|
||||||
int offset = (int) (&boardConfiguration->hip9011Gain) - (int) engineConfiguration;
|
// int offset = (int) (&boardConfiguration->hip9011Gain) - (int) engineConfiguration;
|
||||||
scheduleMsg(tsLogger, "hip9011Gain %d", offset);
|
// scheduleMsg(tsLogger, "hip9011Gain %d", offset);
|
||||||
//
|
//
|
||||||
offset = (int) (&engineConfiguration->crankingCycleBins) - (int) engineConfiguration;
|
// offset = (int) (&engineConfiguration->crankingCycleBins) - (int) engineConfiguration;
|
||||||
scheduleMsg(tsLogger, "crankingCycleBins %d", offset);
|
// scheduleMsg(tsLogger, "crankingCycleBins %d", offset);
|
||||||
|
//
|
||||||
offset = (int) (&engineConfiguration->engineCycle) - (int) engineConfiguration;
|
// offset = (int) (&engineConfiguration->engineCycle) - (int) engineConfiguration;
|
||||||
scheduleMsg(tsLogger, "engineCycle %d", offset);
|
// scheduleMsg(tsLogger, "engineCycle %d", offset);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void setTsSpeed(int value) {
|
static void setTsSpeed(int value) {
|
||||||
|
|
|
@ -39,7 +39,7 @@ struct engine_configuration_s
|
||||||
|
|
||||||
! please note that 1024 here is 4 * FUEL_RPM_COUNT * FUEL_LOAD_COUNT
|
! please note that 1024 here is 4 * FUEL_RPM_COUNT * FUEL_LOAD_COUNT
|
||||||
custom fuel_table_t 1024 array, F32, @OFFSET@, [16x16],"ms", 1, 0, 0.0, 300.0, 2
|
custom fuel_table_t 1024 array, F32, @OFFSET@, [16x16],"ms", 1, 0, 0.0, 300.0, 2
|
||||||
custom ve_table_t 1024 array, F32, @OFFSET@, [16x16],"deg", 1, 0, 0, 100.0, 2
|
custom ve_table_t 1024 array, F32, @OFFSET@, [16x16],"%", 100, 0, 0, 100.0, 2
|
||||||
custom afr_table_t 1024 array, F32, @OFFSET@, [16x16],"deg", 1, 0, 0, 25.0, 2
|
custom afr_table_t 1024 array, F32, @OFFSET@, [16x16],"deg", 1, 0, 0, 25.0, 2
|
||||||
|
|
||||||
! please note that 1024 here is 4 * IGN_LOAD_COUNT * IGN_RPM_COUNT
|
! please note that 1024 here is 4 * IGN_LOAD_COUNT * IGN_RPM_COUNT
|
||||||
|
|
Loading…
Reference in New Issue