]> git.rkrishnan.org Git - pihpsdr.git/commitdiff
changed panadapter frequency display to support lager bandwidths
authorJohn Melton g0orx/n6lyt <john.d.melton@googlemail.com>
Mon, 2 May 2016 06:30:43 +0000 (06:30 +0000)
committerJohn Melton g0orx/n6lyt <john.d.melton@googlemail.com>
Mon, 2 May 2016 06:30:43 +0000 (06:30 +0000)
panadapter.c
pihpsdr
release/pihpsdr.tar
release/pihpsdr/pihpsdr
splash.c

index 104f090b7e8b8bcec173070a62767d122eea14b6..95490b836c2b2f6d9a17365241ccb0dae4849d88 100644 (file)
@@ -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 4faa57f76bd435498a2e7de154a74aa6ef16fadf..9aa820386102adc5e04eb31651de7ca26070a112 100755 (executable)
Binary files a/pihpsdr and b/pihpsdr differ
index c3729ee275425e67cfa068b75e21644d95dfb95d..1e3df71e9be60bcb11d49efde10757b01a470995 100644 (file)
Binary files a/release/pihpsdr.tar and b/release/pihpsdr.tar differ
index 4faa57f76bd435498a2e7de154a74aa6ef16fadf..9aa820386102adc5e04eb31651de7ca26070a112 100755 (executable)
Binary files a/release/pihpsdr/pihpsdr and b/release/pihpsdr/pihpsdr differ
index 886c0580d5ec1add250660d01961bef7d6d82c5c..4e8085f7cccf6c8071c039889d2b5ca0365ff413 100644 (file)
--- 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 ();
 }