[AX25] Added check for Bell modem
This commit is contained in:
parent
0a6026e69e
commit
1bc7c5771c
1 changed files with 6 additions and 1 deletions
|
@ -194,7 +194,12 @@ int16_t AX25Client::begin(const char* srcCallsign, uint8_t srcSSID, uint8_t preL
|
|||
preambleLen = preLen;
|
||||
|
||||
// configure for direct mode
|
||||
#if !defined(RADIOLIB_EXCLUDE_AFSK)
|
||||
if(bellModem != nullptr) {
|
||||
return(phyLayer->startDirect());
|
||||
}
|
||||
#endif
|
||||
return(RADIOLIB_ERR_NONE);
|
||||
}
|
||||
|
||||
#if defined(RADIOLIB_BUILD_ARDUINO)
|
||||
|
|
Loading…
Add table
Reference in a new issue