Commit e116650
fix: correct SHIM_RIG_PORT_SERIAL/NETWORK constants to match hamlib enum
SHIM_RIG_PORT_SERIAL was incorrectly set to 0 (RIG_PORT_NONE) instead of 1
(RIG_PORT_SERIAL), causing rig_open() to succeed without actually opening the
serial port. All subsequent operations then failed with "port not open".
Fixed values: SERIAL=1, NETWORK=2 (matching hamlib rig_port_e enum).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent c316704 commit e116650
2 files changed
Lines changed: 5 additions & 4 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 | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
75 | | - | |
76 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
0 commit comments