|
|
|
|
@ -1673,6 +1673,13 @@ sweep_again: // stay in sweep loop when output mo
|
|
|
|
|
// --------------------- measure -------------------------
|
|
|
|
|
|
|
|
|
|
RSSI = perform(break_on_operation, i, frequencies[i], setting.tracking); // Measure RSSI for one of the frequencies
|
|
|
|
|
// if break back to top level to handle ui operation
|
|
|
|
|
if (break_on_operation && operation_requested) { // break loop if needed
|
|
|
|
|
if (setting.actual_sweep_time_us > ONE_SECOND_TIME && MODE_INPUT(setting.mode)) {
|
|
|
|
|
ili9341_fill(OFFSETX, HEIGHT_NOSCROLL+1, WIDTH, 1, 0); // Erase progress bar
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// Delay between points if needed, (all delays can apply in SI4432 fill)
|
|
|
|
|
if (setting.measure_sweep_time_us == 0){ // If not already in buffer
|
|
|
|
|
@ -1684,14 +1691,6 @@ sweep_again: // stay in sweep loop when output mo
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// if break back to top level to handle ui operation
|
|
|
|
|
if (break_on_operation && operation_requested) { // break loop if needed
|
|
|
|
|
if (setting.actual_sweep_time_us > ONE_SECOND_TIME && MODE_INPUT(setting.mode)) {
|
|
|
|
|
ili9341_fill(OFFSETX, HEIGHT_NOSCROLL+1, WIDTH, 1, 0); // Erase progress bar
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (MODE_INPUT(setting.mode)) {
|
|
|
|
|
|
|
|
|
|
if (setting.actual_sweep_time_us > ONE_SECOND_TIME && (i & 0x07) == 0) { // if required
|
|
|
|
|
|