No more negative frequencies!

monitor
Elliott Liggett 2021-06-19 12:39:11 -07:00
rodzic 2508b4d71c
commit 8eb00fa389
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1836,7 +1836,7 @@ quint64 wfmain::roundFrequencyWithStep(quint64 frequency, int steps, unsigned in
{
frequency = frequency + (quint64)(steps*tsHz);
} else {
frequency = frequency - (quint64)(abs(steps)*tsHz);
frequency = frequency - std::min((quint64)(abs(steps)*tsHz), frequency);
}
if(ui->tuningFloorZerosChk->isChecked())