From: John Melton - G0ORX/N6LYT <john.d.melton@googlemail.com>
Date: Wed, 20 Jul 2016 05:55:27 +0000 (+0000)
Subject: Fixed waterfall click frequency when in CW mode
X-Git-Url: https://git.rkrishnan.org/pf/components/flags/%3C?a=commitdiff_plain;h=44550019ce7ce0d28fa342b5187d0fa89ea57a81;p=pihpsdr.git

Fixed waterfall click frequency when in CW mode
---

diff --git a/pihpsdr b/pihpsdr
index 0570629..8e9c06f 100755
Binary files a/pihpsdr and b/pihpsdr differ
diff --git a/release/pihpsdr.tar b/release/pihpsdr.tar
index 97fb3ce..3d84867 100644
Binary files a/release/pihpsdr.tar and b/release/pihpsdr.tar differ
diff --git a/release/pihpsdr/pihpsdr b/release/pihpsdr/pihpsdr
index 00dab37..8e9c06f 100755
Binary files a/release/pihpsdr/pihpsdr and b/release/pihpsdr/pihpsdr differ
diff --git a/waterfall.c b/waterfall.c
index 1490df6..c52e070 100644
--- a/waterfall.c
+++ b/waterfall.c
@@ -109,7 +109,7 @@ waterfall_button_release_event_cb (GtkWidget      *widget,
       vfo_move((int)((float)(x-last_x)*hz_per_pixel));
     } else {
       // move to this frequency
-      vfo_move((int)((float)(x-(display_width/2))*hz_per_pixel));
+      vfo_move_to((int)((float)(x-(display_width/2))*hz_per_pixel));
     }
     last_x=x;
     pressed=FALSE;