From ebfe7972fc8eea90d4c4d20a0de3e05b07244898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicklas=20B=C3=B6rjesson?= Date: Wed, 9 Aug 2023 23:38:39 +0200 Subject: [PATCH] Remove unnecessary condition This will never be NULL and thus causes an error in ESP-IDF --- src/protocols/APRS/APRS.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocols/APRS/APRS.cpp b/src/protocols/APRS/APRS.cpp index 0c86de42..33559e79 100644 --- a/src/protocols/APRS/APRS.cpp +++ b/src/protocols/APRS/APRS.cpp @@ -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); }