From 1d6f09a35508e8d3855a654a0ffc6500ee2c2448 Mon Sep 17 00:00:00 2001 From: DiSlord Date: Sun, 26 Jan 2020 21:36:13 +0300 Subject: [PATCH] Fix warning --- ui.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ui.c b/ui.c index 31f9b19..4459a67 100644 --- a/ui.c +++ b/ui.c @@ -739,7 +739,6 @@ menu_marker_op_cb(int item, uint8_t data) { if (previous_marker == -1 || active_marker == previous_marker) { // if only 1 marker is active, keep center freq and make span the marker comes to the edge - uint32_t center = get_sweep_frequency(ST_CENTER); uint32_t span = get_sweep_frequency(ST_SPAN); set_sweep_frequency(ST_SPAN, span * 2); } else {