aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcores/arduino/Print.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/Print.h b/cores/arduino/Print.h
index fce302e..8530b03 100755
--- a/cores/arduino/Print.h
+++ b/cores/arduino/Print.h
@@ -42,7 +42,7 @@ class Print
public:
Print() : write_error(0) {}
- int writeError() { return write_error; }
+ int getWriteError() { return write_error; }
void clearWriteError() { setWriteError(0); }
virtual size_t write(uint8_t) = 0;