prog_char -> char PROGMEM in Print.cpp

http://code.google.com/p/arduino/issues/detail?id=795
This commit is contained in:
David A. Mellis 2012-02-12 19:52:03 -05:00
parent e1438efb3a
commit a7afdf40ba
1 changed files with 1 additions and 1 deletions

View File

@ -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++);