Daniele Forsi IU5HKX
7211730866
[icom] Fix includes
2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX
2e894dd9cc
[icom] Remove unused include of config.h
...
Found wih "Include What You Use".
2023-02-14 19:21:18 +01:00
Mike Black W9MDB
c7b33ef0b3
Fix ID5100 ID4100 ID31 ID51 get/set freq
...
Remove get_powerstat from ID4100 ID31 ID51 as it they are not capable
Add new rig_is_model function to help with Icom rig identification checks
https://github.com/Hamlib/Hamlib/issues/1202
https://github.com/Hamlib/Hamlib/issues/1200
2023-01-02 11:30:52 -06:00
Daniele Forsi IU5HKX
84fc3169df
Remove unused includes of frame.h
2022-12-09 14:51:22 +01:00
Mike Black W9MDB
4f5bf9aadd
Fix some dumpcaps warnings in many rigs
2022-11-14 16:02:28 -06:00
Daniele Forsi IU5HKX
7a132e2703
Remove unused includes
...
Removes includes of stdio.h stdlib.h string.h unistd.h
2022-07-24 17:08:57 +02:00
Mike Black W9MDB
5427b4cf86
Promote UNTESTED to ALPHA -- assuming no news is good news
2022-04-16 22:47:51 -05:00
Mike Black W9MDB
81202d3477
Update hamlib_check_rig_caps
2022-02-11 13:16:26 -06:00
Mike Black W9MDB
68e121d82c
Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
...
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mike Black W9MDB
01b7f81119
Add a data tag to the caps structure and a test in rig_init to ensure the data tag is where it is expected
...
Modify testrigcaps.c to test new data tag
This should detect any changes which corrupt rig_caps from additons/subtractions/changes to the structure
2021-12-31 23:49:29 -06:00
Michael Black W9MDB
7bee01f785
Add suppress for AST broken bug in cppcheck
2020-09-19 16:09:44 -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
Malcolm Herring
b675362740
Merge remote-tracking branch 'Hamlib/master'
2020-02-07 04:32:42 +00:00
Michael Black
c2820e4ac2
Remove const from priv_caps in icom rig backends
...
Part of implementing some dynamic caps
Can stil be const in routines that are read-only as in icom.c
2020-01-28 08:32:25 -06:00
Malcolm Herring
c8489486d7
correct rig_close cap
2020-01-23 17:51:45 +00:00
Malcolm Herring
0b75c87df2
restore get_powerstat
2020-01-21 14:45:35 +00:00
Malcolm Herring
a656ff580a
New custom parm implementations
2020-01-21 10:44:40 +00:00
Malcolm Herring
86ac360e92
Merge remote-tracking branch 'Hamlib/master'
2020-01-21 06:58:59 +00:00
Nate Bargmann
49ec88ce84
Remove duplicate initializer
...
Quell the following clang warning:
CC id51.lo
../../../hamlib/rigs/icom/id51.c:195:22: warning: initializer overrides prior initialization of this subobject [-Winitializer-overrides]
.set_powerstat = icom_set_powerstat,
^~~~~~~~~~~~~~~~~~
../../../hamlib/rigs/icom/id51.c:181:22: note: previous initialization is here
.set_powerstat = icom_set_powerstat,
^~~~~~~~~~~~~~~~~~
1 warning generated.
2020-01-20 18:26:32 -06:00
Malcolm Herring
e972bd8657
correct powerstat caps
2020-01-20 16:15:05 +00:00
Malcolm Herring
9bff33896e
new directory structure
2020-01-18 15:31:23 +00:00