ISSUE #15: Backwards compatibility with previous Arduino IDE (pure virtual functions were not supported)
This commit is contained in:
@@ -165,3 +165,9 @@ byte TM16XX::receive()
|
||||
|
||||
return temp;
|
||||
}
|
||||
|
||||
#if !defined(ARDUINO) || ARDUINO < 100
|
||||
// empty implementation instead of pure virtual for older Arduino IDE
|
||||
void TM16XX::sendChar(byte pos, byte data, boolean dot) {}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user