rusEFI
The most advanced open source ECU
|
This data structure holds current malfunction codes.
Definition in file malfunction_central.h.
Data Structures | |
struct | error_codes_set_s |
Functions | |
void | addError (ObdCode errorCode) |
Adds an error code into the set of current errors. The error code is placed into the fixed-size data structure if it fits into it. The error code stays in the data structure till it is removed by 'clearError'. | |
void | removeError (ObdCode errorCode) |
Removed the error code from the set of current errors. | |
void | clearWarnings (void) |
void | getErrorCodes (error_codes_set_s *buffer) |
Copies the current set of errors into the specified buffer. | |
bool | hasErrorCodes (void) |
void addError | ( | ObdCode | errorCode | ) |
Adds an error code into the set of current errors. The error code is placed into the fixed-size data structure if it fits into it. The error code stays in the data structure till it is removed by 'clearError'.
Definition at line 35 of file malfunction_central.cpp.
Referenced by testMil().
void clearWarnings | ( | void | ) |
Definition at line 17 of file malfunction_central.cpp.
Referenced by executeTSCommand().
void getErrorCodes | ( | error_codes_set_s * | buffer | ) |
Copies the current set of errors into the specified buffer.
Definition at line 55 of file malfunction_central.cpp.
bool hasErrorCodes | ( | void | ) |
Definition at line 60 of file malfunction_central.cpp.
Referenced by updateTunerStudioState().
void removeError | ( | ObdCode | errorCode | ) |
Removed the error code from the set of current errors.
Definition at line 42 of file malfunction_central.cpp.