Skip to content

Commit

Permalink
PROGMEM compatibility changes to String (esp8266#7724)
Browse files Browse the repository at this point in the history
Changed contructor to use strlen_P
  • Loading branch information
drzony authored Nov 25, 2020
1 parent 32dbc2c commit 8c7fd6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cores/esp8266/WString.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
String::String(const char *cstr) {
init();
if (cstr)
copy(cstr, strlen(cstr));
copy(cstr, strlen_P(cstr));
}

String::String(const String &value) {
Expand Down

0 comments on commit 8c7fd6a

Please sign in to comment.