From: John Melton g0orx/n6lyt <john.d.melton@googlemail.com> Date: Mon, 2 May 2016 06:30:43 +0000 (+0000) Subject: changed panadapter frequency display to support lager bandwidths X-Git-Url: https://git.rkrishnan.org/pf/quickstart.html?a=commitdiff_plain;h=c22baa685fc69f2abbdc2352fa227f349a073bac;p=pihpsdr.git changed panadapter frequency display to support lager bandwidths --- diff --git a/panadapter.c b/panadapter.c index 104f090..95490b8 100644 --- a/panadapter.c +++ b/panadapter.c @@ -256,6 +256,12 @@ void panadapter_update(float *data,int tx) { case 384000: divisor=25000L; break; + case 768000: + divisor=50000L; + break; + case 1536000: + divisor=100000L; + break; } for(i=0;i<display_width;i++) { f = getFrequency() - half + (long) (hz_per_pixel * i); diff --git a/pihpsdr b/pihpsdr index 4faa57f..9aa8203 100755 Binary files a/pihpsdr and b/pihpsdr differ diff --git a/release/pihpsdr.tar b/release/pihpsdr.tar index c3729ee..1e3df71 100644 Binary files a/release/pihpsdr.tar and b/release/pihpsdr.tar differ diff --git a/release/pihpsdr/pihpsdr b/release/pihpsdr/pihpsdr index 4faa57f..9aa8203 100755 Binary files a/release/pihpsdr/pihpsdr and b/release/pihpsdr/pihpsdr differ diff --git a/splash.c b/splash.c index 886c058..4e8085f 100644 --- a/splash.c +++ b/splash.c @@ -93,9 +93,9 @@ void splash_show(char* image_name,int width,int height,int full_screen) } void splash_status(char *text) { - fprintf(stderr,"splash_status: %s\n",text); + //fprintf(stderr,"splash_status: %s\n",text); gtk_label_set_text(GTK_LABEL(status),text); - usleep(50000); + usleep(10000); while (gtk_events_pending ()) gtk_main_iteration (); }