From 5d579145a7c27b56bdb6968df79909565a2c82e5 Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Fri, 10 Jan 2025 15:35:40 -0800 Subject: [PATCH] cleanup --- firmware/controllers/gauges/malfunction_central.cpp | 2 +- firmware/controllers/gauges/malfunction_central.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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();