Daniele Forsi IU5HKX
2fab137fc5
Apply fixes suggested by iwyu
...
Removes unused includes and adds missing includes.
2025-07-22 23:33:57 +02:00
Daniele Forsi IU5HKX
974e619dd2
Replace #include serial.h with iofunc.h
...
According to iwyu, to avoid unecessary rebuilds and to reduce the
chances of breakages of the build if includes are rearranged, the
code that uses serial_open() and ser_close() should include
serial.h while the code that uses read_block() write_block() and
similar should include iofunc.h, code that uses all of them should
include both files.
Found with iwyu.
2025-07-22 23:33:56 +02:00
George Baltz N3GB
213e7751bf
Add needed includes of new files to rotators/*/*
2025-07-10 09:54:03 -04:00
Daniele Forsi IU5HKX
10180a6dc2
Fix sign of error return values
...
All RIG_E* constants should be negated when returned or compared.
Fixed with:
perl -pe 's/return RIG_E/return -RIG_E/' -i $(grep -lEr "return RIG_E" --include=*.{c,h})
perl -pe 's/= RIG_E/= -RIG_E/g' -i $(grep -lEr "= RIG_E" --include=*.{c,h})
2025-06-07 12:07:44 +02:00
Mike Black W9MDB
5c269964c2
astyle files in preparation for release 4.6
2024-11-06 08:07:34 -06:00
George Baltz N3GB
d1520aa166
Fix other rotators that try to do I/O before open.
...
Get rid of possible infinite recursion.
2024-06-14 16:33:39 -04:00
George Baltz N3GB
f247ee2088
Convert first part of rotators/
2024-02-19 13:06:53 -05:00
Mike Black W9MDB
e1f2342982
Promote all BETA to STABLE
...
Promot all ALPHA to BETA
2024-02-14 07:11:20 -06:00
Mike Black W9MDB
05033171c3
Change token_t to hamlib_token_t to avoid collsions with libbsm and others
...
https://github.com/Hamlib/Hamlib/issues/1469
2024-01-21 23:11:55 -06:00
Mike Black W9MDB
5dc55ff9e1
Fix some double entries
2023-12-12 12:11:31 -06:00
Mike Black W9MDB
464fa3f478
Revert "Promote token_t to unsigned long long"
...
This broke several things -- have to do this inside kenwood.c instead
This reverts commit 01292b261f
.
2023-10-21 12:39:47 -05:00
Mike Black W9MDB
01292b261f
Promote token_t to unsigned long long
...
https://github.com/Hamlib/Hamlib/issues/1402
2023-10-19 23:35:20 -05:00
Mike Black W9MDB
534fe449a2
Fix more cppcheck items
2023-10-13 17:36:29 -05:00
Daniele Forsi IU5HKX
cdb3a60f02
[rotators] Fix includes
2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX
34018600ee
Remove unused includes of math.h
2022-07-23 18:39:55 +02:00
Mike Black W9MDB
b1a4bb06ce
Astyle files
2022-05-21 13:23:51 -05:00
wuxx
e9fb733dae
add new rotator grbltrk
...
Changes to be committed:
modified: Android.mk
modified: configure.ac
modified: include/hamlib/rotlist.h
new file: rotators/grbltrk/Android.mk
new file: rotators/grbltrk/Makefile.am
new file: rotators/grbltrk/grbltrk.c
modified: src/rot_reg.c
2022-05-17 13:23:44 +08:00