From: John Melton - G0ORX <john.d.melton@googlemail.c>
Date: Thu, 28 Dec 2017 16:47:22 +0000 (+0000)
Subject: change direction of vfo encoder
X-Git-Url: https://git.rkrishnan.org/frontends/cyclelanguage?a=commitdiff_plain;h=3b0cfb3de8fa162f3ec9b2df6e940a19498fd049;p=pihpsdr.git

change direction of vfo encoder
---

diff --git a/gpio.c b/gpio.c
index 4449c0b..183bd74 100644
--- a/gpio.c
+++ b/gpio.c
@@ -595,9 +595,9 @@ static void vfoEncoderInt(int A_or_B) {
     vfo_B=switch_B;
     if(switch_A && switch_B) {
       if(A_or_B==VFO_ENCODER_B) {
-        vfoEncoderPos++;
-      } else {
         vfoEncoderPos--;
+      } else {
+        vfoEncoderPos++;
       }
     }
 }
diff --git a/release/pihpsdr-v1.2.3.tar b/release/pihpsdr-v1.2.3.tar
index ea5781f..095135d 100644
Binary files a/release/pihpsdr-v1.2.3.tar and b/release/pihpsdr-v1.2.3.tar differ
diff --git a/release/pihpsdr.tar b/release/pihpsdr.tar
index ea5781f..095135d 100644
Binary files a/release/pihpsdr.tar and b/release/pihpsdr.tar differ
diff --git a/release/pihpsdr/pihpsdr b/release/pihpsdr/pihpsdr
index 20b3604..ed6eaa6 100755
Binary files a/release/pihpsdr/pihpsdr and b/release/pihpsdr/pihpsdr differ