We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 19b8d0e commit 4ed59c2Copy full SHA for 4ed59c2
arduino/avr/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 char PROGMEM *p = (const char PROGMEM *)ifsh;
+ const char *p = reinterpret_cast<const char *>(ifsh);
45
size_t n = 0;
46
while (1) {
47
unsigned char c = pgm_read_byte(p++);
0 commit comments