George Baltz N3GB
1e552b557f
Convert rigs/dummy/
2024-02-05 11:28:31 -05:00
Mike Black W9MDB
efeba2dfe0
Fix some more hamlib_token_t
...
https://github.com/Hamlib/Hamlib/issues/1469
2024-01-22 10:50:30 -06:00
Mike Black W9MDB
9841e500b9
Fix ptt_share segmentation fault
...
https://github.com/Hamlib/Hamlib/issues/1433
Fix ID5100 0x25 and simplex VFO actions
https://github.com/Hamlib/Hamlib/issues/1429
2023-11-23 15:00:05 -06:00
Mike Black W9MDB
6e8d328fb1
Fix most of the redundant warning from cppcheck
2023-09-30 23:42:22 -05:00
Mike Black W9MDB
bf9835791b
Fix cppcheck style
2023-08-02 23:13:01 -05:00
Mike Black W9MDB
d48d12c972
Fix cppcheck warnings
2023-08-02 17:24:11 -05:00
Mike Black W9MDB
6c794a17bd
Fix cppcheck errors
...
https://github.com/Hamlib/Hamlib/issues/1350
2023-08-02 12:41:25 -05:00
Mike Black W9MDB
2a758b96ab
Fix compile warning in tci1x.c
2023-05-07 17:17:01 -05:00
Daniele Forsi IU5HKX
52be0797d8
[rigs/*] Fix includes
2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX
d09c048161
[rigs/*] Remove unused include of config.h
2023-02-14 19:57:48 +01:00
Daniele Forsi IU5HKX
a5773f6f4e
Remove unused includes of cal.h
2022-12-09 17:39:43 +01:00
Mike Black W9MDB
4f5bf9aadd
Fix some dumpcaps warnings in many rigs
2022-11-14 16:02:28 -06:00
Mike Black W9MDB
a83eb3bf42
astyle files for 4.5 release
2022-07-27 17:16:17 -05:00
Mike Black W9MDB
dd3208ad34
Change malloc to calloc
2022-07-27 10:08:29 -05: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
Daniele Forsi IU5HKX
34018600ee
Remove unused includes of math.h
2022-07-23 18:39:55 +02:00
Daniele Forsi IU5HKX
08c06aea14
Fix spelling errors
...
Fixed with:
codespell --summary --skip=.git,extra,,lib,macros,security --ignore-words-list="ans,ba,cant,develope,fo,get's,nin,numer,parm,parms,setts,som,statics,ths,ue,vektor,objext" --write-changes --interactive=2
and manual editing.
2022-07-07 23:56:22 +02:00
Mike Black W9MDB
7cc2ca30b0
Balance RETURNFUNC
2022-02-19 16:47:58 -06:00
Mike Black W9MDB
1b2e3154b7
Update hamlib_check_rig_caps
2022-02-11 14:53:16 -06:00
Mike Black W9MDB
8c34ce1a2d
astyle source code
2022-02-05 15:27:43 -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
7b4b7ee630
Add a depth count to debug statements to help understand calling sequences
...
First call into rig functions is level 1
Top level like rigctl, rigctld is level 0
Non-depth calls are internal debug statements -- which can be modified to also show levels but that's a whole lot of statements not really necessary
Normal calls from other clients will be level 1
2022-01-30 23:37:01 -06:00
Mike Black W9MDB
a277d7ab9b
Changes changing hamlib_port_t to pointer are not backwards compatible
2022-01-25 17:41:26 -06:00
Mike Black W9MDB
9e86e62238
Enable async I/O by default
...
Change hamlib_port_t to a pointer in rig.state
Deprecate static hamlib_port_t structure
New hamlib_port_t structure at end of rig.state
Clients built with older hamlib will use old structure in DLL
Clients built with newer hamlib will use new structure in DLL
So we maintain backwards compatibility until Hamlib 5.0
https://github.com/Hamlib/Hamlib/issues/894
2022-01-25 07:59:47 -06:00
Mike Black W9MDB
52ca1f5dfa
Change sprintf to SNPRINTF in dummy
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-18 23:16:45 -06:00
Mike Black W9MDB
8829a8011d
Change sprintf to snprint in dummy directory
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-11 12:17:34 -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
Mikael Nousiainen
c764336e73
Fix build warnings caused by changes to I/O function signatures
2021-12-18 23:49:45 +02:00
Mike Black W9MDB
e16035ef8e
Chance #if 0 in tci1x.c to make cppcheck happy
2021-11-28 16:56:25 -06:00
Mike Black W9MDB
fc7beda918
Another attempt to get tci1x.c to compile without warning
2021-11-28 16:50:22 -06:00
Mike Black W9MDB
1fe7a9a780
Remove dead code in tci1x.c
...
Note that tci1x is not functional at all yet
2021-11-28 16:39:18 -06:00
Mike Black W9MDB
361dc2c2e2
Hopefully suppress compile warning on tci1x.c
2021-11-28 15:37:46 -06:00
Mike Black W9MDB
63a51c36a1
astyle files preparing for 4.4 release
2021-11-28 12:41:10 -06:00
Mike Black W9MDB
7349a0de73
Update tci1x.c
2021-11-25 16:02:50 -06:00
Mike Black W9MDB
8a443a8667
First draft of TCI backend
...
https://github.com/Hamlib/Hamlib/issues/736
2021-11-25 15:47:45 -06:00