only:code style

This commit is contained in:
rusefillc 2023-06-26 15:49:07 -04:00
parent 18c852989b
commit 42cd7967c9
1 changed files with 2 additions and 2 deletions

View File

@ -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)