Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
arduino-esp32
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
arduino-esp32
Commits
5c92a023
Unverified
Commit
5c92a023
authored
May 03, 2023
by
David McCurley
Committed by
GitHub
May 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BugFix FlashStringHelper Macros (#8147)
Revert to previous definition of `FPSTR` and `F` macros.
parent
8f4f21c7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
cores/esp32/WString.h
cores/esp32/WString.h
+2
-2
No files found.
cores/esp32/WString.h
View file @
5c92a023
...
@@ -34,8 +34,8 @@
...
@@ -34,8 +34,8 @@
// A pure abstract class forward used as a means to proide a unique pointer type
// A pure abstract class forward used as a means to proide a unique pointer type
// but really is never defined.
// but really is never defined.
class
__FlashStringHelper
;
class
__FlashStringHelper
;
#define FPSTR(pstr_pointer) (
pstr_pointer
)
#define FPSTR(pstr_pointer) (
reinterpret_cast<const __FlashStringHelper *>(pstr_pointer)
)
#define F(string_literal) (
string_literal
)
#define F(string_literal) (
FPSTR(PSTR(string_literal))
)
// An inherited class for holding the result of a concatenation. These
// An inherited class for holding the result of a concatenation. These
// result objects are assumed to be writable by subsequent concatenations.
// result objects are assumed to be writable by subsequent concatenations.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment