Remove direct struct access from usage of the Hamlib API

Preparation for safe dynamic linking to Hamlib where minor Hamlib
upgrades can be deployed just by replacing the DLL/SO.
This commit is contained in:
Bill Somerville
2021-02-02 22:45:45 +00:00
parent eecebc710d
commit f972fc18e1
10 changed files with 939 additions and 910 deletions
@@ -39,7 +39,7 @@ namespace
void DXLabSuiteCommanderTransceiver::register_transceivers (logger_type * /*logger*/,
TransceiverFactory::Transceivers * registry,
int id)
unsigned id)
{
(*registry)[commander_transceiver_name] = TransceiverFactory::Capabilities {id, TransceiverFactory::Capabilities::network, true};
}