We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3dfc2c6 commit 0acebeeCopy full SHA for 0acebee
hardware/arduino/cores/arduino/Print.cpp
@@ -41,7 +41,7 @@ size_t Print::write(const uint8_t *buffer, size_t size)
41
42
size_t Print::print(const __FlashStringHelper *ifsh)
43
{
44
- const prog_char *p = (const prog_char *)ifsh;
+ const char PROGMEM *p = (const char PROGMEM *)ifsh;
45
size_t n = 0;
46
while (1) {
47
unsigned char c = pgm_read_byte(p++);
0 commit comments