diff --git a/src/AutoConnectDefs.h b/src/AutoConnectDefs.h index 1f56855..d3ba53a 100644 --- a/src/AutoConnectDefs.h +++ b/src/AutoConnectDefs.h @@ -200,6 +200,10 @@ // Explicitly avoiding unused warning with token handler of PageBuilder #define AC_UNUSED(expr) do { (void)(expr); } while (0) +// Numeric to string deployment +#define AUTOCONNECT_STRING_DEPLOY(n) _AUTOCONNECT_STRING_DEPLOY(n) +#define _AUTOCONNECT_STRING_DEPLOY(s) #s + // Generates a template that determines whether the class owns the // specified member function. // The purpose of this macro is to avoid the use of invalid member diff --git a/src/AutoConnectUpdatePage.h b/src/AutoConnectUpdatePage.h index dda62f2..59f9879 100644 --- a/src/AutoConnectUpdatePage.h +++ b/src/AutoConnectUpdatePage.h @@ -37,7 +37,7 @@ const AutoConnectUpdate::ACElementProp_t AutoConnectUpdate::_elmProgress[] PROGM { AC_Text, "status", nullptr, nullptr }, { AC_Element, "c5", "", nullptr },