mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 09:19:51 +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:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
char s[4];
|
static char s[4];
|
||||||
return Helpers::smallitoa(s, return_code);
|
return Helpers::smallitoa(s, return_code);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user