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
Michael Black W9MDB
a95d1f1c87
Fix multi-mode-mapping
2018-10-25 08:37:59 -05:00
Michael Black W9MDB
3027ca5f9a
Force back to split after set_vfo A if needed\nFixes split getting turned off
2018-07-17 08:47:18 -05:00
Michael Black W9MDB
6fbe4a5faa
Changes to remove unnecessary VFO swaps
2018-06-22 12:05:06 -05:00
Michael Black W9MDB
d7a72dfcec
flrig improvements to minimize relay chattering
2018-05-17 06:35:00 -05:00
Michael Black W9MDB
b8cd8c0a9a
FLRig thread safety improved and now works WSJT-X split mode with multiple connections
2018-05-09 23:01:55 -05:00
Michael Black W9MDB
fd31b41d3b
Fix FLRig segfault and strlen cast
2017-07-10 17:13:45 +01:00
Michael Black W9MDB
8978d0ab9b
Add FLRig backend
2017-07-06 22:53:58 +01:00