Michael Black W9MDB
5e801fd2b5
astyle files
2020-07-07 11:39:26 -05:00
Michael Black W9MDB
0ecf32f2a7
Fix cppcheck warning
2020-07-03 16:56:59 -05:00
Michael Black W9MDB
c12f5d3d55
Remove unused var from flrig.c
2020-07-02 11:14:30 -05:00
Michael Black W9MDB
5a02969257
Fix debug in flrig.c
2020-07-02 10:45:58 -05:00
Michael Black W9MDB
afc6ee76fe
Fix flrig.c compile warning
2020-06-23 12:01:29 -05:00
Michael Black W9MDB
2c64ba9bba
First round of rigs switched over to new rig_flush function
...
When done this will allow all rigs to use network connections and stil flush properly
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 08:27:45 -05:00
Michael Black W9MDB
325754c580
Fix FLRig get_mode function
...
https://github.com/Hamlib/Hamlib/issues/310
2020-06-17 10:37:57 -05:00
Michael Black W9MDB
dc07c20e96
Refactor flrig.c calls and provide retries for all transactions
...
https://github.com/Hamlib/Hamlib/issues/244
2020-06-14 12:58:29 -05:00
Michael Black W9MDB
078d4a081b
Fix cppcheck warning in flrig.c
2020-06-10 15:15:44 -05:00
Michael Black W9MDB
74cdd96eda
Fix merge of icom.c
2020-05-11 18:05:11 -05:00
Michael Black W9MDB
13cf6ba5b6
Improve flrig retry handling
2020-05-10 22:44:34 -05:00
mdblack98
7dcb0ae88e
astyle updates
2020-04-25 11:28:38 -05:00
Michael Black W9MDB
8e1f6c9fc1
Fix debug statement and allow read_string error to retry in flrig.c
2020-04-21 07:56:00 -05:00
Michael Black
b040803765
Standard all version numbers to YYYYMMDD.N where n is intended for multiple versions in one day.
...
So typically .N will be .0
2020-03-29 23:03:21 -05:00
Michael Black
679db60483
Fix some more cppcheck warnings
2020-03-19 12:10:20 -05:00
Michael Black
d856248178
Add RIG_MODEL macro and change all rigs to support it
2020-03-05 08:44:18 -06:00
Michael Black
ff8ddf018c
astyle all C files
2020-02-23 11:26:09 -06:00
Michael Black
2478f6b0f8
Remove double free from flrig.c
2020-01-17 22:22:09 -06:00
Michael Black
2ec1e3d71f
Fix cppcheck warning in flrig.c
2020-01-12 22:43:40 -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
Michael Black
7d0805628a
Fix cppcheck warnings in flrig.c
2019-12-18 22:33:06 -06:00
Michael Black
a052ea4003
Fix FLRig to expire VFOB cache when VFOA mode is set
2019-12-18 10:41:00 -06:00
Michael Black
b3c6b9d707
Add rig_strrmodes function and fix flrig to print mode list correctly
2019-12-12 09:13:30 -06:00
Michael Black
444fcfa575
Replace XOPEN with AC_USE_SYSTEM_EXTENSIONS
2019-12-10 15:54:12 -06:00
Michael Black
3a3d66d52d
Now compiles with -std=c99 and no c99 warnings
2019-12-09 22:45:37 -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
9a4da880c5
Clean up cppcheck warnings in flrig.c
2019-12-06 16:31:54 -06:00
Michael Black
0e9ebbf31c
Clean up cppcheck warnings in flrig.c
2019-12-06 16:28:24 -06:00
Michael Black
8ec67fb582
Add some more FLRig modes
2019-12-03 09:28:43 -06:00
Michael Black
d944c2951a
Fix compile warning on strncat in flrig.c
2019-12-01 22:27:54 -06:00
Michael Black
c9f72d5adf
Add some error checking to flrig.c
2019-12-01 11:09:30 -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
Michael Black
686acaec09
Fix segfault in flrig.c due to 64-bit mode conversion - was causing segfault on 32-bit systems
...
Change return value to RIG_MODE_NONE in flrig.c to match the function type
2019-11-27 14:19:42 -06:00
Michael Black
dadc5b04f9
astyle flrig.c
2019-11-27 11:59:14 -06:00
Michael Black
032adbd367
Change strtok in flrig to strtok_r
2019-11-27 11:58:58 -06:00
Nate Bargmann
97abcdaa81
Merge branch 'C90-compliance' of git://git.code.sf.net/u/bsomervi/hamlib into g4wjs-C90-compliance
2019-08-28 07:07:12 -05:00
Bill Somerville
7b18196a1d
Make code C90 compliant again
2019-08-23 14:29:40 +01:00
Michael Black
73c1ecd165
Change freq & chan struct start/end to avoid colliding with LUA SWIG start/end
2019-08-17 23:20:48 -05:00
Michael Black
10f3a13238
Fix flrig.c for gcc v4.9.2
2019-08-17 11:02:05 -05:00
Michael Black
a86551f64c
Change debug level in flrig.c modeMapGetHamlib
2019-07-31 23:15:27 -05:00
Michael Black
4ca11325b5
Fix flrig for 64-bit mode
2019-07-31 15:45:11 -05:00
Michael Black
622fede79f
Add flush to flrig.c
2019-07-20 11:43:40 -05:00
Michael Black
8bf07d2c63
Fix mode set in flrig.c
2019-07-19 16:44:52 -05:00
Michael Black
505273e123
Fix segfault in flrig.c
2019-07-16 11:05:13 -05:00
Michael Black
2f86dde55a
Reduce verbosity in FLRig
2019-02-05 08:08:21 -06:00
Michael Black
3b5dd2e884
Fix flrig when WSJT-X startup causes rig mode change
...
Increase flrig timeout value
Add USB mode to flrig
Fix flrig memory leak
Fix bug where constant value was being trashed
2018-12-31 15:45:27 -06:00
Michael Black
7062b6761d
Reduce debug info in flrig.c
2018-12-19 16:45:34 -05:00
Michael Black W9MDB
2e5113c7df
Fix flrig modeMap and reduce debug levels
2018-12-10 22:41:26 -06:00