[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
|
// calculate "pixel" duration
|
||||||
_pixelDuration = 1000000.0/rate;
|
_pixelDuration = 1000000.0/rate;
|
||||||
|
|
||||||
// set module frequency deviation to 0 if using FSK
|
// configure for direct mode
|
||||||
int16_t state = ERR_NONE;
|
return(_phy->startDirect());
|
||||||
#if !defined(RADIOLIB_EXCLUDE_AFSK)
|
|
||||||
if(_audio == nullptr) {
|
|
||||||
state = _phy->setFrequencyDeviation(0);
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
return(state);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
size_t HellClient::printGlyph(uint8_t* buff) {
|
size_t HellClient::printGlyph(uint8_t* buff) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue