mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 16:59:50 +03:00
prevent possible out of scope
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user