[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,8 +194,13 @@ 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 !defined(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