diff options
author | Zach Eveland <zeveland@blacklabel-development.com> | 2011-09-08 20:26:47 -0400 |
---|---|---|
committer | Zach Eveland <zeveland@blacklabel-development.com> | 2011-09-08 20:26:47 -0400 |
commit | c0ad36ad4341b90a0bd3acde1e50ce85dfd2f4a8 (patch) | |
tree | ce305833da2f7cac516d33bcb6bd7cebeb2d0adb /cores/arduino/Print.h | |
parent | e52cf0e4203bd6dda76c2544b0479548f465a0c7 (diff) | |
parent | 8b13206e655cd9c1123d842cab1fdd0afd6edc8b (diff) |
Merge branch 'new-extension' of https://github.com/arduino/Arduino into new-extension
Conflicts:
build/linux/dist/tools/avrdude.conf
Diffstat (limited to 'cores/arduino/Print.h')
-rwxr-xr-x | cores/arduino/Print.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/Print.h b/cores/arduino/Print.h index 8530b03..1af6b72 100755 --- a/cores/arduino/Print.h +++ b/cores/arduino/Print.h @@ -46,7 +46,7 @@ class Print void clearWriteError() { setWriteError(0); } virtual size_t write(uint8_t) = 0; - virtual size_t write(const char *str); + size_t write(const char *str) { return write((const uint8_t *)str, strlen(str)); } virtual size_t write(const uint8_t *buffer, size_t size); size_t print(const __FlashStringHelper *); |