Fixed Scanner RESUME button when delay timer Wsa==0, issue #1041 (#1046)

This commit is contained in:
Mark Thompson 2023-05-22 16:21:00 -05:00 committed by GitHub
parent ba9cc55b5a
commit a1189faad1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -744,9 +744,9 @@ void ScannerView::scan_resume() {
}
void ScannerView::user_resume() {
browse_timer = browse_wait * STATISTICS_UPDATES_PER_SEC; // Will trigger a scan_resume() on_statistics_update, also advancing to next freq.
button_pause.set_text("<PAUSE>"); // Show button for pause, arrows indicate rotary encoder enabled for freq change
userpause = false; // Resume scanning
browse_timer = browse_wait * STATISTICS_UPDATES_PER_SEC + 1; // Will trigger a scan_resume() on_statistics_update, also advancing to next freq.
button_pause.set_text("<PAUSE>"); // Show button for pause, arrows indicate rotary encoder enabled for freq change
userpause = false; // Resume scanning
}
void ScannerView::on_headphone_volume_changed(int32_t v) {