hamlib 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prebuilds/darwin-arm64/libhamlib.4.dylib +0 -0
- package/prebuilds/darwin-arm64/node.napi.node +0 -0
- package/prebuilds/darwin-x64/libhamlib.4.dylib +0 -0
- package/prebuilds/darwin-x64/node.napi.node +0 -0
- package/prebuilds/linux-arm64/libhamlib.so +0 -0
- package/prebuilds/linux-arm64/libhamlib.so.4 +0 -0
- package/prebuilds/linux-arm64/libhamlib.so.4.0.7 +0 -0
- package/prebuilds/linux-arm64/node.napi.node +0 -0
- package/prebuilds/linux-x64/libhamlib.so +0 -0
- package/prebuilds/linux-x64/libhamlib.so.4 +0 -0
- package/prebuilds/linux-x64/libhamlib.so.4.0.7 +0 -0
- package/prebuilds/linux-x64/node.napi.node +0 -0
- package/prebuilds/win32-x64/hamlib_shim.dll +0 -0
- package/prebuilds/win32-x64/node.napi.node +0 -0
- package/src/hamlib.cpp +4 -2
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/src/hamlib.cpp
CHANGED
|
@@ -280,7 +280,7 @@ public:
|
|
|
280
280
|
void Execute() override {
|
|
281
281
|
CHECK_RIG_VALID();
|
|
282
282
|
|
|
283
|
-
result_code_ = shim_rig_set_level_f(hamlib_instance_->my_rig,
|
|
283
|
+
result_code_ = shim_rig_set_level_f(hamlib_instance_->my_rig, SHIM_RIG_VFO_NONE, level_type_, value_);
|
|
284
284
|
if (result_code_ != SHIM_RIG_OK) {
|
|
285
285
|
error_message_ = shim_rigerror(result_code_);
|
|
286
286
|
}
|
|
@@ -313,7 +313,9 @@ public:
|
|
|
313
313
|
void Execute() override {
|
|
314
314
|
CHECK_RIG_VALID();
|
|
315
315
|
|
|
316
|
-
|
|
316
|
+
// Use RIG_VFO_NONE to avoid unnecessary VFO switching that fails on
|
|
317
|
+
// ICOM rigs (e.g. IC-705) where icom_set_vfo returns "unsupported VFO"
|
|
318
|
+
result_code_ = shim_rig_get_level_f(hamlib_instance_->my_rig, SHIM_RIG_VFO_NONE, level_type_, &value_);
|
|
317
319
|
if (result_code_ != SHIM_RIG_OK) {
|
|
318
320
|
error_message_ = shim_rigerror(result_code_);
|
|
319
321
|
}
|