| 761 | } |
| 762 | |
| 763 | void |
| 764 | FrequencyCorrectionDialog::setRealTime(bool realTime) |
| 765 | { |
| 766 | this->realTime = realTime; |
| 767 | |
| 768 | if (realTime) { |
| 769 | struct timeval tv; |
| 770 | gettimeofday(&tv, nullptr); |
| 771 | this->resetTimestamp(tv); |
| 772 | } else { |
| 773 | this->haveALOS = false; |
| 774 | } |
| 775 | } |
| 776 | |
| 777 | void |
| 778 | FrequencyCorrectionDialog::setCorrectionEnabled(bool enabled) |
nothing calls this directly
no test coverage detected