[gnoduino: 233/237] prog_char -> char PROGMEM in Print.cpp
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnoduino: 233/237] prog_char -> char PROGMEM in Print.cpp
- Date: Sat, 31 Mar 2012 20:34:25 +0000 (UTC)
commit bd12862014622aae104eb6b72ffd8efb97c89ac8
Author: David A. Mellis <d mellis arduino cc>
Date: Sun Feb 12 19:52:03 2012 -0500
prog_char -> char PROGMEM in Print.cpp
http://code.google.com/p/arduino/issues/detail?id=795
arduino/cores/arduino/Print.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/arduino/cores/arduino/Print.cpp b/arduino/cores/arduino/Print.cpp
index ff9b154..e541a6c 100755
--- a/arduino/cores/arduino/Print.cpp
+++ b/arduino/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++);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]