Merge pull request #262 from mzero/overloaded-write

allow Print's overloaded write() calls to be used with Adafruit_GFX
This commit is contained in:
Paint Your Dragon 2020-01-12 21:12:25 -08:00 committed by GitHub
commit d38ee86716
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -170,6 +170,7 @@ public:
/**********************************************************************/ /**********************************************************************/
void cp437(boolean x = true) { _cp437 = x; } void cp437(boolean x = true) { _cp437 = x; }
using Print::write;
#if ARDUINO >= 100 #if ARDUINO >= 100
virtual size_t write(uint8_t); virtual size_t write(uint8_t);
#else #else