prevent possible out of scope

This commit is contained in:
proddy
2025-01-26 13:12:11 +01:00
parent 0953d37303
commit eac0cc0521

View File

@@ -220,7 +220,7 @@ const char * Command::return_code_string(const uint8_t return_code) {
default:
break;
}
char s[4];
static char s[4];
return Helpers::smallitoa(s, return_code);
}