From 0cbfbc6bb7d485003515a54bf006ac877f51774b Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 26 Apr 2013 22:06:22 +0000 Subject: [PATCH] Better handling of rig initialization, including suppression of unwanted verbosity. Thanks to John, AC6SL! (Will get you authorized to commit, soon.) git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3231 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 2 +- rigclass.cpp | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 541019df0..89d78e90a 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//---------------------------------------------------------------- MainWindow +//--------------------------------------------------------------- MainWindow #include "mainwindow.h" #include "ui_mainwindow.h" #include "devsetup.h" diff --git a/rigclass.cpp b/rigclass.cpp index 2eb2276d1..3dd318225 100644 --- a/rigclass.cpp +++ b/rigclass.cpp @@ -50,6 +50,8 @@ static int hamlibpp_freq_event(RIG *rig, vfo_t vfo, freq_t freq, rig_ptr_t arg) } Rig::Rig(rig_model_t rig_model) { + rig_set_debug_level( RIG_DEBUG_WARN); + theRig = rig_init(rig_model); if (!theRig) THROW(new RigException ("Rig initialization error"));