Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Jan 10, 2025
1 parent 4fb9c4a commit 5d57914
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion firmware/controllers/gauges/malfunction_central.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static int find_position(ObdCode e_code) // Search if code is present
return -1; // -1 if code not found
}

void clearWarnings(void) {
void clearWarnings() {
error_codes_set.count = 0;
}

Expand Down
4 changes: 2 additions & 2 deletions firmware/controllers/gauges/malfunction_central.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ void removeError(ObdCode errorCode);

void setError(bool isError, ObdCode errorCode);

void clearWarnings(void);
void clearWarnings();
/**
* @brief Copies the current set of errors into the specified buffer
*/
void getErrorCodes(error_codes_set_s * buffer);

bool hasErrorCodes(void);
bool hasErrorCodes();

0 comments on commit 5d57914

Please sign in to comment.