mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-20 02:52:00 -05:00
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
This commit is contained in:
parent
6cf62a2139
commit
0cbfbc6bb7
@ -1,4 +1,4 @@
|
|||||||
//---------------------------------------------------------------- MainWindow
|
//--------------------------------------------------------------- MainWindow
|
||||||
#include "mainwindow.h"
|
#include "mainwindow.h"
|
||||||
#include "ui_mainwindow.h"
|
#include "ui_mainwindow.h"
|
||||||
#include "devsetup.h"
|
#include "devsetup.h"
|
||||||
|
@ -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::Rig(rig_model_t rig_model) {
|
||||||
|
rig_set_debug_level( RIG_DEBUG_WARN);
|
||||||
|
|
||||||
theRig = rig_init(rig_model);
|
theRig = rig_init(rig_model);
|
||||||
if (!theRig)
|
if (!theRig)
|
||||||
THROW(new RigException ("Rig initialization error"));
|
THROW(new RigException ("Rig initialization error"));
|
||||||
|
Loading…
Reference in New Issue
Block a user