diff --git a/firmware/controllers/gauges/malfunction_central.cpp b/firmware/controllers/gauges/malfunction_central.cpp index 01b2cf7a58..16cada68f6 100644 --- a/firmware/controllers/gauges/malfunction_central.cpp +++ b/firmware/controllers/gauges/malfunction_central.cpp @@ -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; } diff --git a/firmware/controllers/gauges/malfunction_central.h b/firmware/controllers/gauges/malfunction_central.h index 881f94fcda..235d4e7340 100644 --- a/firmware/controllers/gauges/malfunction_central.h +++ b/firmware/controllers/gauges/malfunction_central.h @@ -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();