1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-09-01 10:23:19 +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:
Stefan de Bruijn
2021-07-03 21:59:35 +02:00
parent d9c76505c0
commit 6b7f9116b0

View File

@@ -82,7 +82,7 @@ namespace Configuration {
void JsonGenerator::item(const char* name, int& value, int32_t minValue, int32_t maxValue) {
enter(name);
char buf[32];
itoa(value, buf, 10);
_itoa(value, buf, 10);
_encoder.begin_webui(name, _currentPath, "I", buf, minValue, maxValue);
_encoder.end_object();
leave();