[SSTV] Added missing calls to yield

This commit is contained in:
jgromes 2020-04-01 14:02:25 +02:00
parent 8701492959
commit 34559fdee3

View file

@ -262,5 +262,7 @@ uint16_t SSTVClient::getPictureHeight() {
void SSTVClient::tone(float freq, uint32_t len) {
uint32_t start = micros();
_phy->transmitDirect(_base + (freq / _phy->getFreqStep()));
while(micros() - start < len);
while(micros() - start < len) {
yield();
}
}