Skip to content

Commit 66eb114

Browse files
authored
Merge pull request #4 from fourstix/master
Fix for Issue #3 Missing return value in SerLCD::write()
2 parents 34d4f1d + 8884855 commit 66eb114

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/SerLCD.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*
55
* By: Gaston R. Williams
66
* Date: August 22, 2018
7+
* Update: March 23, 2020 - fixed missing return value in write(uint8_t)
78
*
89
* License: This code is public domain but you buy me a beer if you use this and we meet someday (Beerware license).
910
*
@@ -392,6 +393,7 @@ size_t SerLCD::write(uint8_t b)
392393
transmit(b);
393394
endTransmission(); //Stop transmission
394395
delay(10); // wait a bit
396+
return 1;
395397
} // write
396398

397399
/*

0 commit comments

Comments
 (0)