Skip to content

Commit

Permalink
prog_char -> char PROGMEM in Print.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
damellis committed Feb 13, 2012
1 parent 3dfc2c6 commit 0acebee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hardware/arduino/cores/arduino/Print.cpp
Expand Up @@ -41,7 +41,7 @@ size_t Print::write(const uint8_t *buffer, size_t size)

size_t Print::print(const __FlashStringHelper *ifsh)
{
const prog_char *p = (const prog_char *)ifsh;
const char PROGMEM *p = (const char PROGMEM *)ifsh;
size_t n = 0;
while (1) {
unsigned char c = pgm_read_byte(p++);
Expand Down

0 comments on commit 0acebee

Please sign in to comment.