We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44dc454 commit 2a257c8Copy full SHA for 2a257c8
cores/arduino/WString.h
@@ -35,7 +35,8 @@
35
// -std=c++0x
36
37
class __FlashStringHelper;
38
-#define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))
+#define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
39
+#define F(string_literal) (FPSTR(PSTR(string_literal)))
40
41
// An inherited class for holding the result of a concatenation. These
42
// result objects are assumed to be writable by subsequent concatenations.
0 commit comments