Michael Black
9f83fd1102
Fix cppcheck warnings in kenwood.h
2020-01-08 08:53:07 -06:00
Michael Black
7c78d750ec
Bump version in k2.c as usleep change may effect it
2020-01-07 23:37:10 -06:00
Michael Black
1197eaf5c6
Bump version in k3.c
2020-01-07 23:36:17 -06:00
Michael Black
4768c01536
Fix cppcheck warnings in k3.c
2020-01-07 23:35:27 -06:00
Michael Black
7ee3a702f5
Replace all usleep with hl_usleep
...
Several places where usleep max value could be overflowed
New hl_usleep can take values > 1000000
2020-01-07 23:18:56 -06:00
Nate Bargmann
baaa6868ec
Merge branch 'master' of https://github.com/cruvolo/Hamlib into cruvolo-master
2020-01-03 20:22:15 -06:00
Chris Ruvolo
7771cab7da
TS-690: bump version
2019-12-22 23:54:27 -05:00
Chris Ruvolo
e57576422c
TS-690 does not implement the GT command to get/set AGC rate
2019-12-22 23:44:17 -05:00
Chris Ruvolo
d5939b6e8f
TS-690 does not implement the PC command to get/set output power level
2019-12-22 23:41:36 -05:00
Chris Ruvolo
8d02ba0da1
TS-690: deal with optional tone board using TS-450 logic
2019-12-22 23:35:43 -05:00
Michael Black
f187fd86cd
Fix cppcheck warnings in xg3.c
2019-12-18 22:57:21 -06:00
Michael Black
becc661ed7
Fix cppcheck warnings in tmd710.c
2019-12-18 22:55:44 -06:00
Michael Black
8c976ea10e
Fix cppcheck warnings in th.c
2019-12-18 22:54:30 -06:00
Michael Black
41da2b38f8
Fix cppcheck warnings in kenwood.c
2019-12-18 22:51:37 -06:00
Michael Black
f6b55762df
Fix cppcheck warnings in k2.c
2019-12-18 22:50:58 -06:00
Michael Black
2e74b4fa6b
Move set_powerstat to kenwood_open and add kenwood_open to ts950.c
2019-12-14 08:25:34 -06:00
Michael Black
72476c21be
Added set_powerstat 1 to kenwood_init -- any reason not to do this?
...
Do we ever want to start rigctl or rigctld on a non-powered rig?
Maybe should do this on all rigs?
TS590S rigctl could not start with power off as firmware version is needed.
And many other things require the rig to be up when rigctl is started.
We won't let set_powerstat fail the startup just in case.
2019-12-13 23:28:49 -06:00
Michael Black
f53763602e
Fix TS590 get_level
2019-12-12 23:25:43 -06:00
Michael Black
444fcfa575
Replace XOPEN with AC_USE_SYSTEM_EXTENSIONS
2019-12-10 15:54:12 -06:00
Michael Black
3220c37ff2
Change XOPEN to 600
2019-12-10 14:50:24 -06:00
Michael Black
3a3d66d52d
Now compiles with -std=c99 and no c99 warnings
2019-12-09 22:45:37 -06:00
Michael Black
78f3fbdecd
Fix arm compilation warnings
2019-12-09 17:33:54 -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
8a3df9735e
Fix cppcheck warnings for ampctl_parse.c and redef amp_set_powerstat
2019-12-08 23:13:33 -06:00
Michael Black
ba69e3d876
Fix cppcheck warnings in xg3.c
2019-12-07 23:33:19 -06:00
Michael Black
9ed28fb0db
Fix cppcheck warnings in ts870s
2019-12-07 23:31:43 -06:00
Michael Black
55fc3398ad
Fix cppcheck warnings in ts570.c and remove old files
2019-12-07 23:30:41 -06:00
Michael Black
0fb8454d4e
Fix more cppcheck warnings in ic10.c
2019-12-07 23:22:36 -06:00
Michael Black
5438fe2905
Fix more cppcheck warnings in tmv7.c
2019-12-07 23:11:01 -06:00
Michael Black
38dca9ccea
Fix more cppcheck warnings in tmd710.c
2019-12-07 23:10:04 -06:00
Michael Black
fdc18a62de
Fix more cppcheck warnings in thg71.c
2019-12-07 23:07:07 -06:00
Michael Black
ecadeda486
Fix more cppcheck warnings in thd74.c
2019-12-07 23:05:21 -06:00
Michael Black
a0943890d2
Fix cppcheck warnings in thd74.c
2019-12-07 23:01:23 -06:00
Michael Black
16eac108f5
Improve firmware check in k3.c
2019-12-07 22:58:15 -06:00
Michael Black
d3c9c8113c
Fix cppcheck warnings in thd72.c
2019-12-07 16:20:13 -06:00
Michael Black
3875e4db04
Fix some cppcheck warnings in th.c
2019-12-07 16:14:53 -06:00
Michael Black
6d34361386
Fix some cppcheck warnings in kenwood.c
2019-12-07 16:05:47 -06:00
Michael Black
d838cacaff
Fix some cppcheck warnings in kenwood.c
2019-12-07 16:05:39 -06:00
Michael Black
3065325b7b
Fix some cppcheck warnings in k2.c
2019-12-07 15:58:13 -06:00
Michael Black
584a9592b2
Fix cppcheck warnings in k3.c
2019-12-07 15:51:53 -06:00
Michael Black
a6ba2bc198
Fix cppcheck warnings in elecraft.c
2019-12-07 15:40:43 -06:00
Michael Black
d7eb9dd72f
Fix cppcheck warning in transfox.c and trc80.c
2019-12-06 12:07:19 -06:00
Michael Black
061dad0415
Fix cppcheck warning on k3.c
2019-12-06 10:16:32 -06:00
Michael Black
620333b883
Fix thd73.c rig_strlevel
2019-11-30 23:31:15 -06:00
Michael Black
9284676a3e
Fix compile warnings for MinGW on Debian Stretch
2019-11-30 18:28:15 -06:00
Michael Black
ac8fbf2506
Remove commented line from kenwood.c
2019-11-30 13:23:36 -06:00
Michael Black
81c696bdd9
Fix tmd710 uninitialized tmd710_mode
2019-11-30 13:07:32 -06:00
Michael Black
6bf3b00c4f
astyle all files
2019-11-30 10:19:08 -06:00
Michael Black
72087f1b10
Change all __FUNCTION__ to __func__
2019-11-30 10:16:28 -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