Wykres commitów

7829 Commity (be3d79ce19da5a639252c3595dec9f1016110cb2)

Autor SHA1 Wiadomość Data
Mike Black W9MDB 82b0a8a84e Improve debug in ser_open 2021-09-04 22:13:32 +02:00
Mike Black W9MDB 2fb5343cc1 Add more retries to PTT serial port open
https://github.com/Hamlib/Hamlib/issues/768
2021-09-04 22:13:32 +02:00
Wouter van Gulik 617a38ff45 src/misc.c: Constify some tables 2021-09-04 22:13:32 +02:00
Wouter van Gulik c9860abe9f rig.c: Constify rigerror_table 2021-09-04 22:13:32 +02:00
Wouter van Gulik f85cb7cb80 src/rig.c: Add comments to clarify both mode and width must be supplied 2021-09-04 22:13:32 +02:00
Wouter van Gulik a305b4f205 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-09-04 22:13:32 +02:00
Wouter van Gulik bfd0820362 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-09-04 22:13:32 +02:00
Wouter van Gulik 447fda0681 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-09-04 22:13:32 +02:00
Mike Black W9MDB 4c371ca40a Fix typo in serial.c
https://github.com/Hamlib/Hamlib/issues/768
2021-09-04 22:13:32 +02:00
Mike Black W9MDB 9311519461 Fix error in serial.c
https://github.com/Hamlib/Hamlib/issues/768
2021-09-04 22:13:32 +02:00
Mike Black W9MDB 18bbd6b7a7 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-09-04 22:13:32 +02:00
Mike Black W9MDB 61020e950c 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-09-04 22:13:31 +02:00
Mike Black W9MDB d97eba3c70 Update NEWS 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 012b939a19 Fix without-libusb build to not build testlibusb 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 5ece51ef2f Remove priv statement 2021-09-04 22:13:31 +02:00
Wouter van Gulik 78160a1bf6 FT817/FT818 Drop pcs and use ncmd direct 2021-09-04 22:13:31 +02:00
Wouter van Gulik 9849a1bcaf 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-09-04 22:13:31 +02:00
Wouter van Gulik cb9ea39c66 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-09-04 22:13:31 +02:00
Wouter 3fabc0b503 README: current version is 4 2021-09-04 22:13:31 +02:00
Mike Black W9MDB b2560982fe Add LIBUSB flags to hamlib.m4
https://github.com/Hamlib/Hamlib/issues/763
2021-09-04 22:13:31 +02:00
Mike Black W9MDB 36b4233277 Change tests/Makefile.am testlibusb to use LIBUSB_CFLAGS and LIBUSB_LIBS 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 181571a970 Add fallback serial open logic to hopefully cure serial port open error with K4
https://github.com/Hamlib/Hamlib/issues/768
2021-09-04 22:13:31 +02:00
Mike Black W9MDB 724891246a Remove csharp from codeql-analysis 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 908b18246e Hopefully portable detection of libusb.h in testlibusb.c
https://github.com/Hamlib/Hamlib/issues/763
2021-09-04 22:13:31 +02:00
Mike Black W9MDB 356f23b0fb Fixing codesql-analysis.yml 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 67181bf7c9 Fixing codesql-analysis.yml 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 6cb90f5260 Fixing c-cpp.yml for libusb 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 2e48c2470b Fixing c-cpp.yml for libusb 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 9c75ab3d40 Attempt to fix c-cpp.yml for libusb dependency 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 67597b50c7 Add testlibusb to Makefile.am in tests
https://github.com/Hamlib/Hamlib/issues/763
2021-09-04 22:13:31 +02:00
Mike Black W9MDB d59d75c20a Another fix for build-w64-jtsdk.sh
https://github.com/Hamlib/Hamlib/issues/763
2021-09-04 22:13:31 +02:00
Mike Black W9MDB 72de08b3e0 Add msys-2.0.dll to jtsdk build for libusb support
https://github.com/Hamlib/Hamlib/issues/763
2021-09-04 22:13:31 +02:00
Mike Black W9MDB e0f468d2c6 Move FT1 command to K4 rig only 2021-09-04 22:13:31 +02:00
Mike Black W9MDB 06327322ef 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-09-04 22:13:31 +02:00
Mike Black W9MDB 12b4dda856 Add a check in flrig to protect strdup from a NULL pointer
https://github.com/Hamlib/Hamlib/issues/765
2021-09-04 22:13:31 +02:00
Mike Black W9MDB c95adac2b1 Adding testlibusb.c 2021-09-04 22:13:31 +02:00
Michael Black c5bc57b719 Create codeql-analysis.yml 2021-09-04 22:13:31 +02:00
Wouter van Gulik 0ebf99742e Yeasu rigs: move native command to C file, move function declration to C
file.
There is no point in having it in the header file if data that is used only in
the C file.
Export ft857_[sg]et_vfo via the ft857 header and use the header in
ft897.
2021-09-04 21:37:28 +02:00
Mike Black W9MDB 06f471d5c8 Add AM_CFLAGS to bindings/Makefile.am to pick up debug flags 2021-09-03 17:31:33 -05:00
Mike Black W9MDB 2bfd09e593 Update py3test.py path 2021-09-03 17:02:12 -05:00
Mike Black W9MDB d1c824be5c Add simple.c example of rig_get_rig_info call 2021-09-03 10:17:51 -05:00
Mike Black W9MDB 820e4d4310 Fix compilation of misc.c with gmtime_r replacement function for mingw
https://github.com/Hamlib/Hamlib/issues/784
2021-09-02 17:08:10 -05:00
Mike Black W9MDB 6de4588335 Do not do vfo_fixup on satmode rigs
https://github.com/Hamlib/Hamlib/issues/782
2021-09-01 12:45:29 -05:00
Mike Black W9MDB 7a5834a9a3 Fix bogus sscanf in kpa_get_powerstat -- function would not work 2021-09-01 09:11:00 -05:00
Mike Black W9MDB acac64c116 Really fix icom_set_func so that it can also turn off DUAL_WATCH 2021-09-01 09:08:13 -05:00
Mike Black W9MDB 3e3436bdce Fix gp2000_get_mode bogus sscanf -- potential seg fault function would not work 2021-09-01 09:06:23 -05:00
Mike Black W9MDB ee56688003 Fix icom_set_func so that it can also turn off DUAL_WATCH
In ic756.c remove ic756_set_func and use icom_set_func instead
2021-09-01 09:00:56 -05:00
Michael Black 9fad079730
Merge pull request #780 from wutje/yeasu_cmmd_indirection_removal
Yaesu cmnd indirection removal
2021-09-01 06:06:12 -05:00
Nate Bargmann fe789607d0
Update for 4.4 release 2021-08-31 21:09:55 -05:00
Nate Bargmann 45e0db787d
Advance to version 4.4~git 2021-08-31 21:09:30 -05:00