Skip to content

Commit

Permalink
Removed references to unused SoftwareSerial-only methods (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgromes committed Aug 22, 2020
1 parent 20193b7 commit 3a89519
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 27 deletions.
19 changes: 0 additions & 19 deletions src/ISerial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down
8 changes: 0 additions & 8 deletions src/ISerial.h
Original file line number Diff line number Diff line change
Expand Up @@ -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[]);
Expand Down

0 comments on commit 3a89519

Please sign in to comment.