[AX25] Fix direct mode start
This commit is contained in:
parent
99d2e6c452
commit
3c502b9cdf
1 changed files with 1 additions and 6 deletions
|
@ -194,13 +194,8 @@ int16_t AX25Client::begin(const char* srcCallsign, uint8_t srcSSID, uint8_t preL
|
||||||
preambleLen = preLen;
|
preambleLen = preLen;
|
||||||
|
|
||||||
// configure for direct mode
|
// configure for direct mode
|
||||||
#if !RADIOLIB_EXCLUDE_AFSK
|
|
||||||
if(bellModem != nullptr) {
|
|
||||||
return(phyLayer->startDirect());
|
return(phyLayer->startDirect());
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
return(RADIOLIB_ERR_NONE);
|
|
||||||
}
|
|
||||||
|
|
||||||
#if defined(RADIOLIB_BUILD_ARDUINO)
|
#if defined(RADIOLIB_BUILD_ARDUINO)
|
||||||
int16_t AX25Client::transmit(String& str, const char* destCallsign, uint8_t destSSID) {
|
int16_t AX25Client::transmit(String& str, const char* destCallsign, uint8_t destSSID) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue