diff --git a/cores/esp32/WString.h b/cores/esp32/WString.h index 11b12aa08a5..e045538c5cb 100644 --- a/cores/esp32/WString.h +++ b/cores/esp32/WString.h @@ -35,8 +35,7 @@ class StringSumHelper; // an abstract class used as a means to proide a unique pointer type // but really has no body class __FlashStringHelper; -#define FPSTR(pstr_pointer) (reinterpret_cast(pstr_pointer)) -#define F(string_literal) (FPSTR(PSTR(string_literal))) +#define F(string_literal) (reinterpret_cast(PSTR(string_literal))) // The string class class String {