Commit cf7026a
fix: use RIG_VFO_NONE for getLevel/setLevel to fix ICOM serial rigs
ICOM rigs (e.g. IC-705) fail when rig_get_level is called with
RIG_VFO_CURR because Hamlib's ICOM backend internally calls
icom_set_vfo which returns "unsupported VFO" for CI-V protocol.
Using RIG_VFO_NONE (0) tells Hamlib to operate on the current VFO
without attempting a VFO switch, which is the correct behavior for
meter reading operations.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 9947772 commit cf7026a
2 files changed
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
283 | | - | |
| 283 | + | |
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| |||
313 | 313 | | |
314 | 314 | | |
315 | 315 | | |
316 | | - | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
317 | 319 | | |
318 | 320 | | |
319 | 321 | | |
| |||
0 commit comments