diff --git a/Sming/Wiring/FakePgmSpace.h b/Sming/Wiring/FakePgmSpace.h index 3c34e8f43a..d8c68604cf 100644 --- a/Sming/Wiring/FakePgmSpace.h +++ b/Sming/Wiring/FakePgmSpace.h @@ -75,9 +75,7 @@ extern "C" { &__pstr__[0]; \ })) -#ifdef ARCH_HOST -#define _F(str) (str) -#else +#ifdef ARCH_ESP8266 /** * @brief Declare and use a flash string inline. * @param str @@ -89,7 +87,8 @@ extern "C" { LOAD_PSTR(buf, __pstr__); \ buf; \ })) - +#else +#define _F(str) (str) #endif /**