From 025e05ef026d7aae8e710257f60339089bd88367 Mon Sep 17 00:00:00 2001
From: c vw <dl1ycf@darc.de>
Date: Mon, 2 Mar 2020 16:38:38 +0100
Subject: [PATCH] oops

---
 vfo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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:
-- 
2.45.2