Skip to content

Commit

Permalink
Revert macros in espressif#7941, but simplify.
Browse files Browse the repository at this point in the history
  • Loading branch information
dok-net committed Apr 25, 2023
1 parent 237a3fe commit 36d6869
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cores/esp32/WString.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
// A pure abstract class forward used as a means to proide a unique pointer type
// but really is never defined.
class __FlashStringHelper;
#define FPSTR(pstr_pointer) (pstr_pointer)
#define F(string_literal) (string_literal)
#define FPSTR(str_pointer) (reinterpret_cast<const __FlashStringHelper *>(str_pointer))
#define F(string_literal) (FPSTR(string_literal))

// An inherited class for holding the result of a concatenation. These
// result objects are assumed to be writable by subsequent concatenations.
Expand Down

0 comments on commit 36d6869

Please sign in to comment.