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
4109d606b5
Fix typos
2025-05-22 21:55:10 +02:00
George Baltz N3GB
f247ee2088
Convert first part of rotators/
2024-02-19 13:06:53 -05:00
Daniele Forsi IU5HKX
cdb3a60f02
[rotators] Fix includes
2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX
b6ec70fcb2
[rotators] Remove unused include of config.h
2023-02-14 19:57:06 +01:00
Mike Black W9MDB
14016be817
Some updates to fix rc2800 operations
...
be72027f9a
2023-01-28 12:42:14 -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
Daniele Forsi IU5HKX
34018600ee
Remove unused includes of math.h
2022-07-23 18:39:55 +02: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
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
d820ee9dbf
Add expected_len to read_string function for potential serial I/O speedup
...
https://github.com/Hamlib/Hamlib/issues/850
2021-11-24 13:02:39 -06:00
Mike Black W9MDB
8fe190d622
Reduce error messages about RIG_VFO_OTHER which only applies to some rigs like Icom rigs with the 0x25 command
...
Add a flush_flag to read_string so that the new serial_flush will not produce a timeout value when flushing
https://github.com/Hamlib/Hamlib/issues/835
2021-11-01 23:43:45 -05:00
AuroraRAS
782ad2a034
make the Android.mk files adapt to multi arch
2021-09-25 07:03:23 +08:00
Mike Black W9MDB
4501c1c97b
Remove generated files
2021-04-14 15:41:01 -05:00
Mike Black W9MDB
9d310062eb
More files for git clone configure to work
2021-04-14 09:19:27 -05:00
Michael Black W9MDB
9fa3f59684
Fix cppcheck warning in rc2800.c
2021-02-28 12:33:07 -06:00
Michael Black W9MDB
acbe8da8a1
astyle rc2800.c
...
https://github.com/Hamlib/Hamlib/issues/451
2021-01-29 08:23:19 -06:00
Michael Black W9MDB
883574049b
Fix compile error on rc2800
...
https://github.com/Hamlib/Hamlib/issues/451
2021-01-29 08:22:56 -06:00
Michael Black W9MDB
f228bda1a2
Add detection of echo for rc2800 -- seems some versions do echo
...
https://github.com/Hamlib/Hamlib/issues/451
2021-01-29 08:20:56 -06:00
Michael Black W9MDB
5fc36df249
astyle files
2020-11-30 14:53:55 -06:00
Michael Black W9MDB
dd3ed134dd
Turns out M2 has two different protcols
...
So we now have RC2800, RC2800_EARLY_AZ, and RC2800_EARLY_AZEL
RC2800_EARLY_AZ is azimuth only
Update rotctl man page for move keywords
https://github.com/Hamlib/Hamlib/issues/451
2020-11-30 09:22:33 -08:00
Michael Black W9MDB
3490fed03c
One more attempt to get rc2800 cooperating LFCR needed?
...
https://github.com/Hamlib/Hamlib/issues/451
2020-11-29 22:46:04 -06:00
Michael Black W9MDB
511435c73e
Force rc2800 az/el to no decimal point value
...
https://github.com/Hamlib/Hamlib/issues/451
2020-11-29 12:54:12 -06:00
Michael Black W9MDB
b5f7c5884b
Remove decimal point from A and E command for rc2800
...
https://github.com/Hamlib/Hamlib/issues/451
2020-11-28 22:25:55 -06:00
Michael Black W9MDB
c3c1aa9998
Register rc2800 rotator
...
https://github.com/Hamlib/Hamlib/issues/451
2020-11-28 17:03:28 -06:00
Michael Black W9MDB
c16be1c264
Add M2 RC2800 Az-only model
...
Promote RC2800 to stable
https://github.com/Hamlib/Hamlib/issues/451
2020-11-28 16:59:55 -06:00
Michael Black W9MDB
d1f857c131
Remove echo expectation from rc2800 rotor
...
https://github.com/Hamlib/Hamlib/issues/451
2020-11-27 14:35:15 -06:00
Michael Black W9MDB
4c87229e65
Change rc2800 rotator to use CR instead of LF for terminating char
...
https://github.com/Hamlib/Hamlib/issues/451
2020-11-27 13:21:46 -06:00
Daniele Forsi
d7b332c3f7
Fix spelling errors
...
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
Michael Black W9MDB
b50975729c
Rotators and amplifiers converted to rig_flush
...
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 08:44:27 -05:00
Michael Black W9MDB
b239e227bd
Change rotators to standard version format and promote a few to stable
2020-06-08 16:13:08 -05:00
Michael Black
d0f114b178
Add macro_name to caps structures for rig, rot, and amp devices
2020-03-05 23:48:14 -06:00
Michael Black
ff8ddf018c
astyle all C files
2020-02-23 11:26:09 -06:00
Michael Black
8d6e2fc781
Directory migration to new layout
2020-01-17 09:22:44 -06:00