aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2012-02-12 19:52:03 -0500
committerDavid A. Mellis <d.mellis@arduino.cc>2012-02-12 19:52:03 -0500
commita7afdf40baf0598a97dbfeaf7d9bfcce93df74fd (patch)
treecd318c484ce0c890b9c3f621db5d12c9effbb2df /cores/arduino
parente1438efb3a6d538ae3fd0e2037ec2b112aa1c563 (diff)
prog_char -> char PROGMEM in Print.cpp
http://code.google.com/p/arduino/issues/detail?id=795
Diffstat (limited to 'cores/arduino')
-rwxr-xr-xcores/arduino/Print.cpp2
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++);