Wykres commitów

184 Commity (2e50bb2583e8025c468c15385327d50e653262e4)

Autor SHA1 Wiadomość Data
Michael Black bf8e90d214
Remove unused var in netrigctl.c 2020-01-21 18:08:05 -06:00
Michael Black d853c36fb3
Change get_ant to add another option for icom rigs (and others if needed) 2020-01-21 17:53:12 -06:00
Michael Black 2478f6b0f8
Remove double free from flrig.c 2020-01-17 22:22:09 -06:00
Michael Black a43193c6a4
Fix cppcheck warning in dummy.c 2020-01-13 22:57:59 -06:00
Michael Black bcd373c8a6
Fix cppcheck warning in amp_dummy.c 2020-01-12 22:53:45 -06:00
Michael Black 11263d691d
Fix cppcheck warning in trxmanage.c 2020-01-12 22:49:20 -06:00
Michael Black e426fd6171
Fix cppcheck warning in rot_dummy.c 2020-01-12 22:47:43 -06:00
Michael Black 9c16b55337
Fix cppcheck warning in netrigctl.c 2020-01-12 22:45:31 -06:00
Michael Black 2ec1e3d71f
Fix cppcheck warning in flrig.c 2020-01-12 22:43:40 -06:00
Michael Black 97ea79082a
Fix cppcheck warnings in trxmanager.c 2020-01-08 22:50:03 -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 98a7b825ab
Fix cppcheck warning in netrigctl.c 2020-01-05 17:07:09 -06:00
Michael Black eec16fa625
Fix cppcheck warnings in netrigctl.c 2019-12-18 22:34:37 -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 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 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 eca1987360
Clean up cppcheck warnings in trxmanager.c 2019-12-06 16:34:18 -06:00
Michael Black fa42f54a4a
Clean up cppcheck warnings in netrigctl.c 2019-12-06 16:32:39 -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 5414d18a57
Clean up cppcheck warnings in dummy 2019-12-06 16:25:49 -06:00
Michael Black de01f4768a
change retry and timeout for netrigctl to allow binary cmds from w command to work 2019-12-06 07:57:44 -06:00
Michael Black 9d5bc2f385
Update flrig version 2019-12-03 09:29:04 -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
Michael Black 777eb94825
astyle dummy.c 2019-10-29 22:27:12 -05:00
Michael Black de418729cf
Typical sequence
RX/TX will show correct answers at startup based on rig current status
This sequence is for the dummy device

Rig command: F RX
Frequency: 14500000

Rig command: F TX
Frequency: 14500000

Rig command: V VFOB

Rig command: F 16000000

Rig command: V VFOA

Rig command: S 1 VFOB

Rig command: V TX

Rig command: f
Frequency: 16000000

Rig command: S 0 VFOA

Rig command: f
Frequency: 145000000

What should this behavior be?  Return VFOA or VFOB or error?
Rig command: S 0 VFOB

Rig command: f
Frequency: 16000000
2019-10-29 08:03:03 -05:00
Bill Somerville c0b375c20b
Fix misunderstanding of netrigctl_transaction() return value
netrigctl_transaction()  returns  either  an  error  code  (-ve  int),
RIG_OK, or the number of characters read from the protocol stream. +ve
return  values indicate  successful  parsing of  stream  data, not  an
error.
2019-08-31 00:38:25 +01:00
Bill Somerville d931bd4e18
Move unnecessary global and file static variables to the stack 2019-08-29 00:39:39 +01: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 cf2a551524
Fixup some amplifier code 2019-06-26 06:39:42 -05:00