auto-sync
This commit is contained in:
parent
b4b9c43088
commit
4426b32adc
|
@ -1712,14 +1712,14 @@ typedef enum {
|
||||||
CUSTOM_OBD_41 = 6041,
|
CUSTOM_OBD_41 = 6041,
|
||||||
CUSTOM_OBD_42 = 6042,
|
CUSTOM_OBD_42 = 6042,
|
||||||
CUSTOM_OBD_MMC_ERROR = 6043,
|
CUSTOM_OBD_MMC_ERROR = 6043,
|
||||||
CUSTOM_OBD_44 = 6044,
|
CUSTOM_LOGGING_BUFFER_OVERFLOW = 6044,
|
||||||
CUSTOM_OBD_SKIPPED_SPARK = 6045,
|
CUSTOM_OBD_SKIPPED_SPARK = 6045,
|
||||||
CUSTOM_OBD_SKIPPED_FUEL = 6046,
|
CUSTOM_OBD_SKIPPED_FUEL = 6046,
|
||||||
CUSTOM_OBD_SCH_REUSE = 6047,
|
CUSTOM_OBD_SCH_REUSE = 6047,
|
||||||
CUSTOM_OBD_48 = 6048,
|
CUSTOM_OBD_48 = 6048,
|
||||||
CUSTOM_OBD_49 = 6049,
|
CUSTOM_OBD_49 = 6049,
|
||||||
|
|
||||||
CUSTOM_OBD_50 = 6050,
|
CUSTOM_TOO_LONG_FUEL_INJECTION = 6050,
|
||||||
CUSTOM_OBD_51 = 6051,
|
CUSTOM_OBD_51 = 6051,
|
||||||
CUSTOM_OBD_52 = 6052,
|
CUSTOM_OBD_52 = 6052,
|
||||||
CUSTOM_OBD_53 = 6053,
|
CUSTOM_OBD_53 = 6053,
|
||||||
|
|
|
@ -235,7 +235,7 @@ static ALWAYS_INLINE void handleFuelInjectionEvent(int injEventIndex, InjectionE
|
||||||
#endif /*EFI_PRINTF_FUEL_DETAILS */
|
#endif /*EFI_PRINTF_FUEL_DETAILS */
|
||||||
|
|
||||||
if (injectionDuration > getCrankshaftRevolutionTimeMs(rpm)) {
|
if (injectionDuration > getCrankshaftRevolutionTimeMs(rpm)) {
|
||||||
warning(CUSTOM_OBD_50, "Too long fuel injection");
|
warning(CUSTOM_TOO_LONG_FUEL_INJECTION, "Too long fuel injection");
|
||||||
}
|
}
|
||||||
|
|
||||||
// todo: pre-calculate 'numberOfInjections'
|
// todo: pre-calculate 'numberOfInjections'
|
||||||
|
|
|
@ -57,7 +57,7 @@ static ALWAYS_INLINE bool validateBuffer(Logging *logging, uint32_t extraLen) {
|
||||||
|
|
||||||
if (remainingSize(logging) < extraLen + 1) {
|
if (remainingSize(logging) < extraLen + 1) {
|
||||||
#if EFI_PROD_CODE
|
#if EFI_PROD_CODE
|
||||||
warning(CUSTOM_OBD_44, "output overflow %s", logging->name);
|
warning(CUSTOM_LOGGING_BUFFER_OVERFLOW, "output overflow %s", logging->name);
|
||||||
#endif
|
#endif
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue