rusEFI
The most advanced open source ECU
|
Functions | |
void | clearWarnings (void) |
static int | find_position (ObdCode e_code) |
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 | getErrorCodes (error_codes_set_s *copy) |
Copies the current set of errors into the specified buffer. | |
bool | hasErrorCodes (void) |
Variables | |
static error_codes_set_s | error_codes_set |
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().
|
static |
Search if code is present
Definition at line 27 of file malfunction_central.cpp.
Referenced by addError(), and removeError().
void getErrorCodes | ( | error_codes_set_s * | copy | ) |
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.
|
static |
Definition at line 15 of file malfunction_central.cpp.
Referenced by addError(), clearWarnings(), find_position(), getErrorCodes(), hasErrorCodes(), and removeError().