From fea0bfca6bd9c20f4e582d6d1e278b93762dac26 Mon Sep 17 00:00:00 2001
From: PA3GSB <admin@pa3gsb.nl>
Date: Sat, 18 Feb 2017 16:44:27 +0100
Subject: [PATCH] PSK bug

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

diff --git a/radio.c b/radio.c
index 203b793..16a3f12 100644
--- a/radio.c
+++ b/radio.c
@@ -494,7 +494,7 @@ fprintf(stderr,"start save timer\n");
   save_timer_id=gdk_threads_add_timeout(30000, save_cb, NULL);
 
 #ifdef PSK
-  if(active_receiver->mode==modePSK) {
+  if(vfo[active_receiver->id].mode==modePSK) {
     show_psk();
   } else {
     show_waterfall();
-- 
2.45.2