Mike Black W9MDB
46d31277c1
Fix responsebuf in kpa.c
2023-05-08 17:31:11 -05:00
Mike Black W9MDB
56907442ab
Fix kpa.h
2023-03-20 23:33:16 -05:00
Daniele Forsi IU5HKX
51d95bb8f7
[amplifiers] Fix includes
2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX
1213d87448
[amplifiers] Remove unused include of config.h
2023-02-14 19:58:38 +01:00
Mike Black W9MDB
a83eb3bf42
astyle files for 4.5 release
2022-07-27 17:16:17 -05:00
Mike Black W9MDB
627ec83652
Change malloc to calloc
2022-07-27 10:26:08 -05:00
Daniele Forsi IU5HKX
7a132e2703
Remove unused includes
...
Removes includes of stdio.h stdlib.h string.h unistd.h
2022-07-24 17:08:57 +02:00
Mike Black W9MDB
7b49921468
Update levels in kpa1500
2022-07-10 17:03:56 -05:00
Mike Black W9MDB
6bfa103b32
Fix kpa1500.c
2022-02-10 15:20:15 -06:00
Mike Black W9MDB
96f9e6acea
Remove unused file
2022-02-10 15:16:36 -06:00
Mike Black W9MDB
8c34ce1a2d
astyle source code
2022-02-05 15:27:43 -06:00
Mike Black W9MDB
68e121d82c
Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
...
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mike Black W9MDB
01c164b2b5
Fix kpa.c link error
2022-01-16 07:33:17 -06:00
Mike Black W9MDB
c88e32e0d6
Add SPRINTF macro to use instead of sprintf for automatic detection of buffer limit exceeded
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 23:38:51 -06:00
Mikael Nousiainen
c764336e73
Fix build warnings caused by changes to I/O function signatures
2021-12-18 23:49:45 +02:00
Mike Black W9MDB
63a51c36a1
astyle files preparing for 4.4 release
2021-11-28 12:41:10 -06:00
Mike Black W9MDB
d820ee9dbf
Add expected_len to read_string function for potential serial I/O speedup
...
https://github.com/Hamlib/Hamlib/issues/850
2021-11-24 13:02:39 -06:00
Mike Black W9MDB
8fe190d622
Reduce error messages about RIG_VFO_OTHER which only applies to some rigs like Icom rigs with the 0x25 command
...
Add a flush_flag to read_string so that the new serial_flush will not produce a timeout value when flushing
https://github.com/Hamlib/Hamlib/issues/835
2021-11-01 23:43:45 -05:00
Mike Black W9MDB
04b0e6e40c
Fix responsebuf usage in kpa.c
2021-09-11 05:10:07 -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
4501c1c97b
Remove generated files
2021-04-14 15:41:01 -05:00
Mike Black W9MDB
9d310062eb
More files for git clone configure to work
2021-04-14 09:19:27 -05:00
Michael Black W9MDB
b50975729c
Rotators and amplifiers converted to rig_flush
...
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 08:44:27 -05:00
Michael Black W9MDB
62cf4e5a88
Change amplifiers to standard version format and promote a few to stable
2020-06-08 16:17:54 -05:00
Michael Black
4eaed47920
Fix cppcheck warning in kpa.c
2020-03-19 09:49:59 -05:00
Michael Black
d0f114b178
Add macro_name to caps structures for rig, rot, and amp devices
2020-03-05 23:48:14 -06:00
Michael Black
ff8ddf018c
astyle all C files
2020-02-23 11:26:09 -06:00
Michael Black
fe8e66032a
Fix cppcheck warning in kpa.c
2020-01-12 22:55:32 -06:00
Michael Black
31e30da6f7
Fix cppcheck warning in kpa
2020-01-12 07:56:10 -06:00
Michael Black
c5a6dccc27
Fix cppcheck warning in kpa.h
2019-12-24 23:17:52 -06:00
Michael Black
efb6edcb52
Fix cppcheck warning in kpa.c
2019-12-18 17:22:15 -06:00
Michael Black
fb73e5abd7
Fix some cppcheck warnings
...
Fix declarations after statements
Remove some !rig checks...we either don't need them or need them everywhere with a new error code
If you pass a NULL rig you get what you deserve :-)
2019-12-09 17:12:13 -06:00
Michael Black
0b7a26ed28
Remove kpa1500_int as redundant and clean up cppcheck warnings
2019-12-06 15:19:58 -06:00
Michael Black
6bf3b00c4f
astyle all files
2019-11-30 10:19:08 -06:00
Michael Black
2f4d62709e
Added a dummy snprintf to rig_debug to allow gcc to check format strings
...
This found tons of errors in rig_debug statements
So this patch cleans up all the files that were producing warnings or errors
This should fix a few segfaults when running with debug turned on
2019-11-30 10:04:31 -06:00
Michael Black
cf2a551524
Fixup some amplifier code
2019-06-26 06:39:42 -05:00
Michael Black
6b0dcc30c9
Adding README.elecraft
2019-06-25 22:38:25 -05:00
Michael Black
7e9c566944
Add first cut at amplifier control
2019-06-12 15:52:35 -05:00