Commit graph

17 commits

Author SHA1 Message Date
Daniele Forsi IU5HKX
5b87b38704 Replace "goto again" with "continue" (first case)
Does the same thing with more structured control flow.
It also silences compiler warnings.
2025-08-07 11:22:14 +02:00
Daniele Forsi IU5HKX
9dd0009f9e Remove unused define 2025-08-05 22:22:50 +02:00
Daniele Forsi IU5HKX
f8881f9bb9 Remove disabled code
None of these simulators does multicast networking.
2025-08-03 22:09:04 +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
e09d1611b2 Add simic275 2024-06-18 11:27:45 -05: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
4f0393d6ad Add simic275.c 2023-11-15 07:38:13 -06:00