kopia lustrzana https://github.com/jgromes/RadioLib
[SSTV] Added missing calls to yield
rodzic
8701492959
commit
34559fdee3
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue