Skip to content
This repository
Browse code

prog_char -> char PROGMEM in Print.cpp

commit 0acebeeff48cdb28c602f04e1a5906c6b2149a02 1 parent 3dfc2c6
David A. Mellis authored February 12, 2012
2  hardware/arduino/cores/arduino/Print.cpp
@@ -41,7 +41,7 @@ size_t Print::write(const uint8_t *buffer, size_t size)
41 41
 
42 42
 size_t Print::print(const __FlashStringHelper *ifsh)
43 43
 {
44  
-  const prog_char *p = (const prog_char *)ifsh;
  44
+  const char PROGMEM *p = (const char PROGMEM *)ifsh;
45 45
   size_t n = 0;
46 46
   while (1) {
47 47
     unsigned char c = pgm_read_byte(p++);

0 notes on commit 0acebee

Please sign in to comment.
Something went wrong with that request. Please try again.