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
+1 -1
View File
@@ -25,7 +25,7 @@ namespace
void HRDTransceiver::register_transceivers (logger_type *,
TransceiverFactory::Transceivers * registry,
int id)
unsigned id)
{
(*registry)[HRD_transceiver_name] = TransceiverFactory::Capabilities (id, TransceiverFactory::Capabilities::network, true, true /* maybe */);
}