Removed references to unused SoftwareSerial-only methods (#175)
This commit is contained in:
parent
20193b784e
commit
3a89519127
2 changed files with 0 additions and 27 deletions
|
@ -33,25 +33,6 @@ void ISerial::flush() {
|
||||||
_mod->ModuleSerial->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) {
|
size_t ISerial::print(const __FlashStringHelper *ifsh) {
|
||||||
return(_mod->ModuleSerial->print(ifsh));
|
return(_mod->ModuleSerial->print(ifsh));
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,14 +25,6 @@ class ISerial {
|
||||||
int available();
|
int available();
|
||||||
void flush();
|
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 __FlashStringHelper *);
|
||||||
size_t print(const String &);
|
size_t print(const String &);
|
||||||
size_t print(const char[]);
|
size_t print(const char[]);
|
||||||
|
|
Loading…
Add table
Reference in a new issue