From: c vw Date: Wed, 8 Jan 2020 11:33:19 +0000 (+0100) Subject: small fixes X-Git-Url: https://git.rkrishnan.org/pf/content/en/seg/priv/?a=commitdiff_plain;h=5594526d3c9e7c2dfbd8e2e4af09e6caca27369a;p=pihpsdr.git small fixes --- diff --git a/diversity_menu.c b/diversity_menu.c index 1ff26f7..527a449 100644 --- a/diversity_menu.c +++ b/diversity_menu.c @@ -30,6 +30,7 @@ #include "new_protocol.h" #include "old_protocol.h" #include "sliders.h" +#include "ext.h" #include @@ -78,6 +79,7 @@ static void diversity_cb(GtkWidget *widget, gpointer data) { schedule_high_priority(); schedule_receive_specific(); } + g_idle_add(ext_vfo_update, NULL); } // diff --git a/tx_panadapter.c b/tx_panadapter.c index 5c1d36d..4de9f04 100644 --- a/tx_panadapter.c +++ b/tx_panadapter.c @@ -262,9 +262,9 @@ void tx_panadapter_update(TRANSMITTER *tx) { } } + cairo_text_extents_t extents; #ifdef TX_FREQ_MARKERS long long f; - cairo_text_extents_t extents; long long divisor=50000; for(i=0;i