auto-sync
This commit is contained in:
parent
d5d11b8ef0
commit
fbc552a629
|
@ -111,8 +111,8 @@ extern board_configuration_s *boardConfiguration;
|
|||
static void printStats(void) {
|
||||
#if EFI_PROD_CODE
|
||||
if (!isSerialOverUart()) {
|
||||
scheduleMsg(&logger, "TS RX on %s%d/TX on %s%d", portname(TS_SERIAL_RX_PORT), TS_SERIAL_RX_PIN,
|
||||
portname(TS_SERIAL_TX_PORT), TS_SERIAL_TX_PIN);
|
||||
scheduleMsg(&logger, "TS RX on %s%d/TX on %s%d @%d", portname(TS_SERIAL_RX_PORT), TS_SERIAL_RX_PIN,
|
||||
portname(TS_SERIAL_TX_PORT), TS_SERIAL_TX_PIN, TS_SERIAL_SPEED);
|
||||
}
|
||||
#endif /* EFI_PROD_CODE */
|
||||
scheduleMsg(&logger, "TunerStudio total/error counter=%d/%d H=%d / O counter=%d size=%d / P=%d / B=%d", tsCounter, tsState.errorCounter, tsState.queryCommandCounter, tsState.outputChannelsCommandCounter,
|
||||
|
|
|
@ -216,7 +216,8 @@ static void triggerInfo(Engine *engine) {
|
|||
scheduleMsg(&logger, "expected duty #0=%f/#1=%f", engineConfiguration2->triggerShape.dutyCycle[0],
|
||||
engineConfiguration2->triggerShape.dutyCycle[1]);
|
||||
|
||||
scheduleMsg(&logger, "isError %d/total errors=%d/total revolutions=%d", isTriggerDecoderError(),
|
||||
scheduleMsg(&logger, "isError %s/total errors=%d/total revolutions=%d",
|
||||
boolToString(isTriggerDecoderError()),
|
||||
triggerCentral.triggerState.totalTriggerErrorCounter,
|
||||
triggerCentral.triggerState.getTotalRevolutionCounter());
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ Logging logger;
|
|||
/**
|
||||
* @return TRUE is something is wrong with trigger decoding
|
||||
*/
|
||||
int isTriggerDecoderError(void) {
|
||||
bool_t isTriggerDecoderError(void) {
|
||||
return errorDetection.sum(6) > 4;
|
||||
}
|
||||
|
||||
|
|
|
@ -83,6 +83,6 @@ uint32_t findTriggerZeroEventIndex(trigger_shape_s * shape, trigger_config_s con
|
|||
void initializeTriggerShape(Logging *logger, engine_configuration_s const *engineConfiguration, engine_configuration2_s *engineConfiguration2);
|
||||
void initTriggerDecoder(void);
|
||||
|
||||
int isTriggerDecoderError(void);
|
||||
bool_t isTriggerDecoderError(void);
|
||||
|
||||
#endif /* TRIGGER_DECODER_H_ */
|
||||
|
|
|
@ -252,5 +252,5 @@ void firmwareError(const char *fmt, ...) {
|
|||
}
|
||||
|
||||
int getRusEfiVersion(void) {
|
||||
return 20141113;
|
||||
return 20141114;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue