Merge pull request #810 from nicklasb/master-2

Remove unnecessary condition
This commit is contained in:
Jan Gromeš 2023-08-18 20:20:46 +02:00 committed by GitHub
commit 42c2dba1cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,7 +24,7 @@ int16_t APRSClient::begin(char sym, char* callsign, uint8_t ssid, bool alt) {
table = '/';
}
if((!src) && (this->phyLayer != nullptr)) {
if(this->phyLayer != nullptr) {
return(RADIOLIB_ERR_INVALID_CALLSIGN);
}