From 42cd7967c9eebda34bebb0f84b28a0b970b5f8ff Mon Sep 17 00:00:00 2001 From: rusefillc Date: Mon, 26 Jun 2023 15:49:07 -0400 Subject: [PATCH] only:code style --- firmware/controllers/gauges/malfunction_central.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/controllers/gauges/malfunction_central.cpp b/firmware/controllers/gauges/malfunction_central.cpp index 01b2cf7a58..8810f3c69a 100644 --- a/firmware/controllers/gauges/malfunction_central.cpp +++ b/firmware/controllers/gauges/malfunction_central.cpp @@ -15,10 +15,10 @@ static error_codes_set_s error_codes_set; /** + * Search if code is present * @return -1 if code not found */ -static int find_position(ObdCode e_code) // Search if code is present -{ +static int find_position(ObdCode e_code) { // cycle for searching element equal seaching code for (int t = 0; t < error_codes_set.count; t++) if (error_codes_set.error_codes[t] == e_code)