Skip to content

Commit 27dcd80

Browse files
committed
1 parent b406c71 commit 27dcd80

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

settings.h

+6
Original file line numberDiff line numberDiff line change
@@ -171,4 +171,10 @@ extern SPI_HandleTypeDef SPI_Handle; // Needed to be declared in your main.cpp
171171
#endif
172172
#endif
173173

174+
// Workaround issue: https://github.com/esp8266/Arduino/issues/2078
175+
#ifdef ESP8266
176+
#undef PSTR
177+
#define PSTR(s) (s)
178+
#endif
179+
174180
#endif /* SETTINGS_H */

0 commit comments

Comments
 (0)