[SSTV] Added support for interrupt-based timing (#596)
This commit is contained in:
parent
f69723b96c
commit
2f0dac1bb7
1 changed files with 1 additions and 3 deletions
|
@ -301,9 +301,7 @@ void SSTVClient::tone(float freq, uint32_t len) {
|
||||||
#else
|
#else
|
||||||
_phy->transmitDirect(_base + (freq / _phy->getFreqStep()));
|
_phy->transmitDirect(_base + (freq / _phy->getFreqStep()));
|
||||||
#endif
|
#endif
|
||||||
while(mod->micros() - start < len) {
|
mod->waitForMicroseconds(start, len);
|
||||||
mod->yield();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue