Wouter van Gulik
84108f9613
src/rig.c: Add comments to clarify both mode and width must be supplied
2021-08-21 21:59:02 +02:00
Wouter van Gulik
d1bfa0172f
ft600.c: Drop width check, code below has no check.
...
The lower code would have crashed if width was NULL, so 'width == NULL' never
happens.
2021-08-21 20:45:43 +02:00
Wouter van Gulik
83a8b98a86
icom.c: Drop width check. Other code assumes != NULL.
...
I am not sure if the intention was to check for width == default.
But that never worked, so for now do not change behaviour.
2021-08-21 20:36:10 +02:00
Wouter van Gulik
51d4473ef0
newcat.c: Drop width check; the only call site (get_mode) uses it before the call.
...
Besides most other rigs assume it is != NULL. So having width == NULL
would cause a crash for all other rigs.
2021-08-21 20:30:03 +02:00
Mike Black W9MDB
ad53f2f1e3
Fix typo in serial.c
...
https://github.com/Hamlib/Hamlib/issues/768
2021-08-21 07:41:48 -05:00
Mike Black W9MDB
c6151c7110
Fix error in serial.c
...
https://github.com/Hamlib/Hamlib/issues/768
2021-08-20 22:31:11 -05:00
Mike Black W9MDB
df40151d65
Add additional attempts to open serial port
...
K4 was failing on 1st open for some unknown reason but succeeds on 2nd try
https://github.com/Hamlib/Hamlib/issues/768
2021-08-20 22:29:12 -05:00
Mike Black W9MDB
1f515458fe
Allow testlibusb to compile on < libusb-1.0.23
...
Generate warning for libusb-1.0.23 future requirement
https://github.com/Hamlib/Hamlib/issues/763
2021-08-20 10:21:10 -05:00
Mike Black W9MDB
43191ced2d
Update NEWS
2021-08-18 17:41:12 -05:00
Mike Black W9MDB
6d829ec43f
Fix without-libusb build to not build testlibusb
2021-08-17 17:53:14 -05:00
Mike Black W9MDB
d102839284
Remove priv statement
2021-08-17 15:43:21 -05:00
Michael Black
b2de21426f
Merge pull request #769 from wutje/yaesu_private
...
Move priv_data structs of ft100, ft600, ft817, ft857, ft897 to the C file
2021-08-17 15:36:47 -05:00
Michael Black
658599930e
Merge pull request #770 from wutje/patch-1
...
README: current version is 4
2021-08-17 15:21:22 -05:00
Wouter
c2d0d16022
README: current version is 4
2021-08-17 22:08:17 +02:00
Wouter van Gulik
485612008f
FT817/FT818 Drop pcs and use ncmd direct
2021-08-17 22:02:45 +02:00
Wouter van Gulik
01ac8022e1
Implement get_vfo/set_vfo for FT817/FT818.
...
Read the eeprom to get VFO and toggle VFO if not the desired VFO is selected.
This code is the ft857 implementation, but EEPROM address 0x55 instead of 0x68.
2021-08-17 21:48:25 +02:00
Wouter van Gulik
673733700f
Move private data structs of ft100, ft600, ft817, ft857, ft897 to the C file.
...
Note that is already so for all other Yaesu device.
Leave private data in newcat; it is used by multiple rigs.
2021-08-17 20:23:03 +02:00
Mike Black W9MDB
cc845deb0d
Add LIBUSB flags to hamlib.m4
...
https://github.com/Hamlib/Hamlib/issues/763
2021-08-17 09:17:20 -05:00
Mike Black W9MDB
87122795e7
Change tests/Makefile.am testlibusb to use LIBUSB_CFLAGS and LIBUSB_LIBS
2021-08-17 08:12:16 -05:00
Mike Black W9MDB
d52cce510d
Add fallback serial open logic to hopefully cure serial port open error with K4
...
https://github.com/Hamlib/Hamlib/issues/768
2021-08-16 22:49:36 -05:00
Mike Black W9MDB
4c0797dc78
Remove csharp from codeql-analysis
2021-08-16 22:39:57 -05:00
Mike Black W9MDB
a7cc7da17f
Hopefully portable detection of libusb.h in testlibusb.c
...
https://github.com/Hamlib/Hamlib/issues/763
2021-08-16 22:24:51 -05:00
Mike Black W9MDB
45ff011ec0
Fixing codesql-analysis.yml
2021-08-16 09:03:08 -05:00
Mike Black W9MDB
d9b50ddf77
Fixing codesql-analysis.yml
2021-08-16 07:35:10 -05:00
Mike Black W9MDB
cf192ac92f
Fixing c-cpp.yml for libusb
2021-08-16 07:23:39 -05:00
Mike Black W9MDB
df568dffb6
Fixing c-cpp.yml for libusb
2021-08-16 07:05:32 -05:00
Mike Black W9MDB
b27d765e73
Attempt to fix c-cpp.yml for libusb dependency
2021-08-16 07:02:09 -05:00
Mike Black W9MDB
0818062372
Add testlibusb to Makefile.am in tests
...
https://github.com/Hamlib/Hamlib/issues/763
2021-08-15 23:46:27 -05:00
Mike Black W9MDB
ffb9143190
Another fix for build-w64-jtsdk.sh
...
https://github.com/Hamlib/Hamlib/issues/763
2021-08-15 22:49:06 -05:00
Mike Black W9MDB
773b745653
Add msys-2.0.dll to jtsdk build for libusb support
...
https://github.com/Hamlib/Hamlib/issues/763
2021-08-15 12:25:27 -05:00
Mike Black W9MDB
9cf4b1658f
Move FT1 command to K4 rig only
2021-08-14 23:45:59 -05:00
Mike Black W9MDB
4c91889a10
For Elecraft add a set split after DT$ command in set_split_mode
...
On the K4 the setting of VFOA was turning split off
https://github.com/Hamlib/Hamlib/issues/748
2021-08-14 22:36:33 -05:00
Mike Black W9MDB
49038c78be
Add a check in flrig to protect strdup from a NULL pointer
...
https://github.com/Hamlib/Hamlib/issues/765
2021-08-14 17:56:32 -05:00
Mike Black W9MDB
45935336cb
Adding testlibusb.c
2021-08-14 10:39:00 -05:00
Mike Black W9MDB
3fc0400294
Merge branch 'master' of https://github.com/Hamlib/Hamlib
2021-08-13 12:40:02 -05:00
Mike Black W9MDB
0a0873252e
Fix CodeQL warnings
2021-08-13 12:28:58 -05:00
Michael Black
269b5f23d6
Create codeql-analysis.yml
2021-08-13 11:56:04 -05:00
Mike Black W9MDB
014bc04ddf
Fix Icom rigs to use 0x25 command if capable
...
Fixes #1 and and #2 in the issue
https://github.com/Hamlib/Hamlib/issues/762
2021-08-13 07:42:39 -05:00
Mike Black W9MDB
ad43cd793a
Fix MULTICAST boolean logic
2021-08-11 23:10:44 -05:00
Mike Black W9MDB
3baa9da839
Add a 2nd try on kenwood.c ID command -- TS450S was failing on 1st try
2021-08-09 16:23:17 -05:00
Mike Black W9MDB
45d1162362
Improve debug message in iofunc.c on serial port error
2021-08-09 08:46:05 -05:00
Mike Black W9MDB
1a64f26ea0
Add RETURNFUNC in register to see timing
2021-08-08 16:43:05 -05:00
Mike Black W9MDB
daf09e3ea5
Fix rig.h again
2021-08-08 12:40:43 -05:00
Mike Black W9MDB
ca33e9777b
Fix rig.h
2021-08-08 12:37:47 -05:00
Mike Black W9MDB
72c6f22c28
Comment out rig_set_vfo change until ready for primetime
2021-08-08 12:35:24 -05:00
Mike Black W9MDB
be5b98eb8b
Add ability for rig_set_vfo to show calling function
...
This will be expanded to cover other functions too
2021-08-08 09:02:23 -05:00
Mike Black W9MDB
24a9fdcc94
Fix FTDX3000 antenna switching
...
https://github.com/Hamlib/Hamlib/issues/756
2021-08-05 22:29:56 -05:00
Mike Black W9MDB
e57774cfde
Make printf mingw portable in rs_hfiq.c
...
1668fd7954
2021-08-05 08:38:58 -05:00
Mike Black W9MDB
fa4302ceaa
Fix printf warning in rs_hfiq.c
...
1668fd7954
2021-08-05 08:27:33 -05:00
Mike Black W9MDB
5cab1acc0d
In rigctld do not try to close fsockin/fsockout when null -- happens during error on fsockin or fsockout
...
https://github.com/Hamlib/Hamlib/issues/757
2021-08-05 07:50:15 -05:00