Commit graph

22 commits

Author SHA1 Message Date
Daniele Forsi IU5HKX
9dd0009f9e Remove unused define 2025-08-05 22:22:50 +02:00
Daniele Forsi IU5HKX
151549bb3b Remove disabled code
None of these simulators does multicast networking.
2025-08-04 11:36:03 +02:00
Daniele Forsi IU5HKX
c26f033395 Do not use relative paths for including misc.h
The Makefile adds all necessary include directories.
2025-08-03 16:09:47 +02:00
Daniele Forsi IU5HKX
df7fbbec9b Have IWYU fix the includes 2025-08-03 09:35:03 +02:00
Daniele Forsi IU5HKX
3b2a95053b Refactor to remove code duplication of dumphex() 2025-08-03 09:35:03 +02:00
Daniele Forsi IU5HKX
98a81a5074 Replace magic number with a defined constant
The same constant is used by memset() in getmyline().
2025-08-03 09:35:03 +02:00
Daniele Forsi IU5HKX
ecece62828 Refactor to remove code duplication of openPort()
The code wasn't indented in simic7300.c and simic7700.c but it was
identical.
2025-08-03 09:35:02 +02:00
Daniele Forsi IU5HKX
17b301a371 Add missing includes
Automatically added by IWYU.
2025-08-02 13:14:35 +02:00
Daniele Forsi IU5HKX
e8467032ad Remove unused includes
Found with IWYU.
2025-08-02 13:13:10 +02:00
Daniele Forsi IU5HKX
0267068220 Fix ambiguity between system includes and Hamlib includes 2025-07-22 23:33:57 +02:00
Daniele Forsi IU5HKX
3448c735b0 Remove non-working compilation instructions from comments
Some instructions were a copy and paste error, some did not link
to Hamlib. Compile all simulators with: make -C simulators check
or compile a single simulator replacing "check" with the name of
the simulator.

Fixed with:
perl -pe 's,// gcc.*\n,,' -i *.c
perl -pe 's,// On mingw.*\n,,' -i *.c
2025-04-30 19:34:22 +02:00
Daniele Forsi IU5HKX
037c4953ed Fix name of function in error messages
Fixed with:
perl -pe s/pstname/ptsname/ -i *.c
2025-04-30 19:22:36 +02:00
Mike Black W9MDB
5c269964c2 astyle files in preparation for release 4.6 2024-11-06 08:07:34 -06:00
Mike Black W9MDB
c23948c8f4 Update simxiegug90.c 2024-02-20 12:06:34 -06:00
Mike Black W9MDB
89876895de Remove Error message from simxiegug90.c 2024-01-13 08:25:24 -06:00
Mike Black W9MDB
30f47cdeba Update Icom simulators for better behavior at rigctl shutdown 2023-11-25 09:29:01 -06:00
Mike Black W9MDB
534fe449a2 Fix more cppcheck items 2023-10-13 17:36:29 -05:00
Mike Black W9MDB
d72127f29a Fix cppcheck warnings 2023-10-11 23:22:42 -05:00
Mike Black W9MDB
4175929a48 More changes from cppcheck 2023-10-06 22:59:55 -05:00
Mike Black W9MDB
57ebd647eb Add split capability to Xiegu G90
https://github.com/Hamlib/Hamlib/issues/1364
2023-08-18 10:56:58 -05:00
Mike Black W9MDB
7bd9cbef83 Fix simxiegug90.c
https://github.com/Hamlib/Hamlib/issues/1364
2023-08-18 09:29:53 -05:00
Mike Black W9MDB
4faef9e031 Add simxiegug90.c 2023-08-18 08:17:39 -05:00