From: c vw <dl1ycf@darc.de>
Date: Mon, 2 Mar 2020 15:38:38 +0000 (+0100)
Subject: oops
X-Git-Url: https://git.rkrishnan.org/%5B/frontends/%22file:/%22doc.html/using.html?a=commitdiff_plain;h=025e05ef026d7aae8e710257f60339089bd88367;p=pihpsdr.git

oops
---

diff --git a/vfo.c b/vfo.c
index cfb6b38..8ba8a38 100644
--- a/vfo.c
+++ b/vfo.c
@@ -292,7 +292,7 @@ void vfo_band_changed(int b) {
   vfo[id].ctun=0;
   vfo[id].offset=0;
   // tell WDSP about the offset
-  set_offset(active_receiver, vfo[i].offset);
+  set_offset(active_receiver, vfo[id].offset);
 
   switch(id) {
     case 0: