mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-17 06:52:18 +01:00
prog_char -> char PROGMEM in Print.cpp
http://code.google.com/p/arduino/issues/detail?id=795
This commit is contained in:
parent
3dfc2c6311
commit
0acebeeff4
@ -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++);
|
||||
|
Loading…
x
Reference in New Issue
Block a user