[Hell] Use startDirect from PHY
This commit is contained in:
parent
e4e540a390
commit
98970be860
1 changed files with 2 additions and 9 deletions
|
@ -24,15 +24,8 @@ int16_t HellClient::begin(float base, float rate) {
|
|||
// calculate "pixel" duration
|
||||
_pixelDuration = 1000000.0/rate;
|
||||
|
||||
// set module frequency deviation to 0 if using FSK
|
||||
int16_t state = ERR_NONE;
|
||||
#if !defined(RADIOLIB_EXCLUDE_AFSK)
|
||||
if(_audio == nullptr) {
|
||||
state = _phy->setFrequencyDeviation(0);
|
||||
}
|
||||
#endif
|
||||
|
||||
return(state);
|
||||
// configure for direct mode
|
||||
return(_phy->startDirect());
|
||||
}
|
||||
|
||||
size_t HellClient::printGlyph(uint8_t* buff) {
|
||||
|
|
Loading…
Add table
Reference in a new issue