[SSTV] Added support for interrupt-based timing (#596)

pull/614/head
jgromes 2022-11-18 18:05:42 +01:00
rodzic f69723b96c
commit 2f0dac1bb7
1 zmienionych plików z 1 dodań i 3 usunięć

Wyświetl plik

@ -301,9 +301,7 @@ void SSTVClient::tone(float freq, uint32_t len) {
#else
_phy->transmitDirect(_base + (freq / _phy->getFreqStep()));
#endif
while(mod->micros() - start < len) {
mod->yield();
}
mod->waitForMicroseconds(start, len);
}
#endif