mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-07-08 20:03:31 -04:00
Add a log channel for rig control
RIGCTRL is defined as a log channel for rig control messages and the appropriate logger is made available to children of the Transceiver class. Use Transceiver::logger() to access the logger. Switched existing rig control QDebug messages to Boost logging.
This commit is contained in:
@@ -13,8 +13,8 @@ namespace
|
||||
unsigned const polls_to_stabilize {3};
|
||||
}
|
||||
|
||||
PollingTransceiver::PollingTransceiver (int poll_interval, QObject * parent)
|
||||
: TransceiverBase {parent}
|
||||
PollingTransceiver::PollingTransceiver (logger_type * logger, int poll_interval, QObject * parent)
|
||||
: TransceiverBase {logger, parent}
|
||||
, interval_ {poll_interval * 1000}
|
||||
, poll_timer_ {nullptr}
|
||||
, retries_ {0}
|
||||
|
||||
Reference in New Issue
Block a user