diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2012-02-12 19:52:03 -0500 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2012-02-12 19:52:03 -0500 |
commit | a7afdf40baf0598a97dbfeaf7d9bfcce93df74fd (patch) | |
tree | cd318c484ce0c890b9c3f621db5d12c9effbb2df /cores/arduino/Print.cpp | |
parent | e1438efb3a6d538ae3fd0e2037ec2b112aa1c563 (diff) |
prog_char -> char PROGMEM in Print.cpp
http://code.google.com/p/arduino/issues/detail?id=795
Diffstat (limited to 'cores/arduino/Print.cpp')
-rwxr-xr-x | cores/arduino/Print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/Print.cpp b/cores/arduino/Print.cpp index ff9b154..e541a6c 100755 --- a/cores/arduino/Print.cpp +++ b/cores/arduino/Print.cpp @@ -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++); |