Remove unnecessary condition

This will never be NULL and thus causes an error in ESP-IDF
This commit is contained in:
Nicklas Börjesson 2023-08-09 23:38:39 +02:00 committed by GitHub
parent 86724197ec
commit ebfe7972fc
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);
}