Commit Graph

29 Commits

Author SHA1 Message Date
George Baltz N3GB
53b01d829e Start converting rigs/* to use pointers to state 2024-03-26 02:08:33 -04:00
Mike Black W9MDB
68bcae6ee8 Some improvements on codan rigs 2024-03-18 17:24:07 -05:00
George Baltz N3GB
23d5d53248 Port rigs/anytone/, rigs/barrett/ and rigs/codan/
Fixup git rebase SMerge error.
2024-02-05 11:28:31 -05: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
3b5f7a6dcf Add and fix some cppcheck suppress items
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-03 17:11:09 -05:00
Mike Black W9MDB
503f27e20c Fix cppcheck warnings 2023-08-02 17:04:07 -05:00
Daniele Forsi IU5HKX
2db37fe7db Fix typos 2023-03-26 11:01:51 +02: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
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
4dfe46edbb Remove unused includes related to times and dates
Removes includes of time.h sys/time.h hamlibdatetime.h
2022-07-23 18:12:10 +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
cc73447d7c Fix missing semicolon in codan.c 2022-05-13 11:06:21 -05:00
Mike Black W9MDB
8073f745e0 Balance RETURNFUNC 2022-02-19 16:34:20 -06:00
Mike Black W9MDB
f0a9832669 Balance RETURNFUNC 2022-02-19 16:28:32 -06:00
Mike Black W9MDB
79ef9b7c20 Update hamlib_check_rig_caps 2022-02-11 14:51:43 -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
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
38d7697d03 Change snprintf to SNPRINTF in rigs
https://github.com/Hamlib/Hamlib/issues/857
2022-01-22 22:37:09 -06:00
Mike Black W9MDB
ab8a74a48d Change sprintf to snprint in codan
https://github.com/Hamlib/Hamlib/issues/857
2022-01-11 23:52:37 -06:00
Mike Black W9MDB
6d16f24157 CODAN promoted to stable
Re-enable serial flush
2021-12-28 12:55:50 -06:00
Mike Black W9MDB
b0b660ede9 Add scan off to codan init 2021-12-27 17:54:12 -06:00
Mike Black W9MDB
d4d4547321 Add Android.mk to codan 2021-12-27 12:16:09 -06:00
Mike Black W9MDB
451aa7be0c Fix codan link error 2021-12-27 11:53:42 -06:00
Mike Black W9MDB
0ccf0b480c Add CODAN Envoy and NGS rigs 2021-12-27 11:48:05 -06:00