Fix compile error using latest Hamlib headers

This commit is contained in:
Bill Somerville 2020-07-04 23:39:00 +01:00
parent 74c7fade32
commit 8147c84260
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -610,7 +610,7 @@ int HamlibTransceiver::do_start ()
// we must disable Hamlib caching because it lies about frequency
// for less than 1 Hz resolution rigs
auto orig_cache_timeout = rig_get_cache_timeout_ms (rig_.data (), HAMLIB_CACHE_ALL);
rig_set_cache_timeout_ms (rig_.data (), CACHE_ALL, 0);
rig_set_cache_timeout_ms (rig_.data (), HAMLIB_CACHE_ALL, 0);
#endif
int resolution {0};