Skip to content

Commit 61b33f1

Browse files
committed
Renaming writeError() to getWriteError() in Print (and Stream and friends).
http://code.google.com/p/arduino/issues/detail?id=608
1 parent 551b8e8 commit 61b33f1

File tree

1 file changed

+1
-1
lines changed
  • hardware/arduino/cores/arduino

1 file changed

+1
-1
lines changed

hardware/arduino/cores/arduino/Print.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class Print
4242
public:
4343
Print() : write_error(0) {}
4444

45-
int writeError() { return write_error; }
45+
int getWriteError() { return write_error; }
4646
void clearWriteError() { setWriteError(0); }
4747

4848
virtual size_t write(uint8_t) = 0;

0 commit comments

Comments
 (0)