Michael Black
3220c37ff2
Change XOPEN to 600
2019-12-10 14:50:24 -06:00
Michael Black
ae13db1ce5
Fix c90 warnings on icom.c
2019-12-10 10:41:21 -06:00
Michael Black
8f205c2237
Merge branch 'master' of https://github.com/Hamlib/Hamlib
2019-12-10 07:23:24 -06:00
Michael Black
1806496538
Update rigctl.1 to include W command
2019-12-09 23:45:18 -06:00
Michael Black
9eae761579
Added 'W' command for reading a fixed number of bytes
...
So we can now do this...write once to see how many bytes you get back
Rig command: w \0xfe\0xfe\0x58\0xe0\0x03\0xfd
Cmd:\0xFE\0xFE\0x58\0xE0\0x03\0xFD\0xFE\0xFE\0xE0\0x58\0x03\0x00\0x00\0x09\0x14\0x00\0xFD 17
Then use 'W' to write the command with the # of bytes to expect -- no timeout this way
Rig command: W \0xfe\0xfe\0x58\0xe0\0x03\0xfd 17
Cmd:\0xFE\0xFE\0x58\0xE0\0x03\0xFD\0xFE\0xFE\0xE0\0x58\0x03\0x00\0x00\0x09\0x14\0x00\0xFD 17
2019-12-09 23:37:14 -06:00
Michael Black
2fce78ac87
Fix c90 warnings on ic746.c
2019-12-09 22:59:32 -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
8e0ddf743c
Fix cppcheck warnings in ampctl_parse.c
2019-12-08 23:43:01 -06:00
Michael Black
646900862b
Fix cppcheck warnings in dumpmem.c
2019-12-08 23:42:47 -06:00
Michael Black
ddd5c43a71
Fix cppcheck warnings in rigmem.c
2019-12-08 23:42:32 -06:00
Michael Black
0207b45ff8
Fix cppcheck warnings in rigctlcom.c
2019-12-08 23:39:56 -06:00
Michael Black
2d94431848
Fix cppcheck warnings in rigctl_parse.c
2019-12-08 23:37:46 -06:00
Malcolm Herring
60bf986776
Merge remote-tracking branch 'Hamlib/master'
2019-12-09 05:34:44 +00:00
Michael Black
e56db8c985
Fix cppcheck warnings in rigctl.c
2019-12-08 23:33:51 -06:00
Malcolm Herring
5f6e0641ad
Prepare for D-STAR implementation
...
Add 3 new rigs: ID-31, ID-51 & ID-4100
Update other D-STAR rigs: IC-R30, IC-R8600 & IC-7100
2019-12-09 05:33:20 +00:00
Michael Black
f7399eb8df
Fix cppcheck warnings in example.c
2019-12-08 23:30:23 -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
fac207d37b
Fix cppcheck warnings in tt550.c
2019-12-08 23:06:51 -06:00
Michael Black
5e2f45f987
Fix cppcheck warnings in tentec2.c
2019-12-08 23:05:59 -06:00
Michael Black
1b981c9a64
Fix cppcheck warnings in rx331.c
2019-12-08 23:03:50 -06:00
Michael Black
4f55f69d23
Fix cppcheck warnings in paragon.c
2019-12-08 22:54:55 -06:00
Michael Black
398f20b7e1
Fix cppcheck warnings in orion.c
2019-12-08 22:54:45 -06:00
Michael Black
a827bbb217
Fix cppcheck warnings in omnivii.c
2019-12-08 22:51:13 -06:00
Michael Black
4d97a5eb5e
Fix cppcheck warnings in jupiter.c
2019-12-08 22:50:25 -06:00
Michael Black
86660a0b97
Fix cppcheck warnings in jupiter.c
2019-12-08 22:49:41 -06:00
Michael Black
bc94558fe3
Fix cppcheck warnings in usb_port.c
2019-12-08 22:48:02 -06:00
Michael Black
ddfa154694
Fix cppcheck warnings in rotator.c
2019-12-08 22:47:51 -06:00
Michael Black
6c0f101900
Fix cppcheck warnings in rig.c
2019-12-08 22:45:29 -06:00
Michael Black
dddf63ca16
Fix cppcheck warnings in rig.c
2019-12-08 22:37:56 -06:00
Michael Black
03b39da00b
Fix cppcheck warnings in parallel.c
2019-12-08 22:35:50 -06:00
Michael Black
9aa920a873
Fix cppcheck warnings in parallel.c
2019-12-08 22:35:33 -06:00
Michael Black
8f5ac2d68c
Fix cppcheck warnings in misc.c
2019-12-08 22:29:48 -06:00
Michael Black
c90b1dd7c6
Fix cppcheck warnings in microham.c
2019-12-08 22:27:44 -06:00
Michael Black
6ba8f88e2f
Fix cppcheck warnings in network.c
2019-12-08 17:09:08 -06:00
Michael Black
7020aba16d
Fix cppcheck warnings in mem.c
2019-12-08 17:04:08 -06:00
Michael Black
5be9dfe161
Fix cppcheck warnings in locator.c
2019-12-08 16:58:18 -06:00
Michael Black
1011ea16e4
Fix cppcheck warnings in iofunc.c
2019-12-08 16:56:14 -06:00
Michael Black
0ec255366f
Fix gpio file descriptor leak in gpio.c
2019-12-08 16:54:15 -06:00
Michael Black
55e36895bf
Fix cppcheck warnings in extamp.c
2019-12-08 16:36:45 -06:00
Michael Black
314fe20f39
Fix cppcheck warnings in ext.c
2019-12-08 16:35:55 -06:00
Michael Black
67c3b56ccd
Fix cppcheck warnings in event.c
2019-12-08 16:32:13 -06:00
Michael Black
531782d339
Fix cppcheck warnings in debug.c
2019-12-08 16:30:33 -06:00
Michael Black
910d799494
Fix cppcheck warnings in cm108.c
2019-12-08 16:29:39 -06:00
Michael Black
91678ef573
Fix cppcheck warnings in amplifier.c
2019-12-08 16:27:46 -06:00
Michael Black
8e5dc87ffd
Fix cppcheck warnings in amp_conf.c
2019-12-08 16:06:58 -06:00
Michael Black
6305ff4cd4
Fix cppcheck warnings in spid.c
2019-12-08 16:04:46 -06:00
Michael Black
00572f9ae7
Fix cppcheck warnings in trp8255.c
2019-12-08 16:03:38 -06:00
Michael Black
5630996b3d
Fix cppcheck warnings in skanti.c
2019-12-08 16:01:13 -06:00