diff --git a/src/ISerial.cpp b/src/ISerial.cpp index dbfa6a30..650cfb06 100644 --- a/src/ISerial.cpp +++ b/src/ISerial.cpp @@ -33,25 +33,6 @@ void ISerial::flush() { _mod->ModuleSerial->flush(); } -// SoftwareSerial-only methods -#if !defined(RADIOLIB_SOFTWARE_SERIAL_UNSUPPORTED) -bool ISerial::listen() { - return(_mod->ModuleSerial->listen()); -} - -bool ISerial::isListening() { - return(_mod->ModuleSerial->isListening()); -} - -bool ISerial::stopListening() { - return(_mod->ModuleSerial->stopListening()); -} - -bool ISerial::overflow() { - return(_mod->ModuleSerial->overflow()); -} -#endif - size_t ISerial::print(const __FlashStringHelper *ifsh) { return(_mod->ModuleSerial->print(ifsh)); } diff --git a/src/ISerial.h b/src/ISerial.h index 34064934..0029234e 100644 --- a/src/ISerial.h +++ b/src/ISerial.h @@ -25,14 +25,6 @@ class ISerial { int available(); void flush(); - // SoftwareSerial-only methods - #if !defined(RADIOLIB_SOFTWARE_SERIAL_UNSUPPORTED) - bool listen(); - bool isListening(); - bool stopListening(); - bool overflow(); - #endif - size_t print(const __FlashStringHelper *); size_t print(const String &); size_t print(const char[]);