mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-09-07 04:40:43 +02:00
'itoa': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _itoa.
This commit is contained in:
@@ -82,7 +82,7 @@ namespace Configuration {
|
|||||||
void JsonGenerator::item(const char* name, int& value, int32_t minValue, int32_t maxValue) {
|
void JsonGenerator::item(const char* name, int& value, int32_t minValue, int32_t maxValue) {
|
||||||
enter(name);
|
enter(name);
|
||||||
char buf[32];
|
char buf[32];
|
||||||
itoa(value, buf, 10);
|
_itoa(value, buf, 10);
|
||||||
_encoder.begin_webui(name, _currentPath, "I", buf, minValue, maxValue);
|
_encoder.begin_webui(name, _currentPath, "I", buf, minValue, maxValue);
|
||||||
_encoder.end_object();
|
_encoder.end_object();
|
||||||
leave();
|
leave();
|
||||||
|
Reference in New Issue
Block a user