Wykres commitów

12264 Commity (9dd0009f9e14100adf10cc4abe058237f4eb1a6c)

Autor SHA1 Wiadomość Data
Daniele Forsi IU5HKX 9dd0009f9e Remove unused define 2025-08-05 22:22:50 +02:00
Daniele Forsi IU5HKX 816d6d9bef Replace magic number with a defined constant 2025-08-05 22:22:50 +02:00
Daniele Forsi IU5HKX 249a993633 Avoid spamming the terminal with 0's 2025-08-05 22:22:50 +02:00
Daniele Forsi IU5HKX 8064da8121 Avoid burning 100% CPU
Adds hl_usleep() like in the other version of getmyline().
2025-08-05 21:16:33 +02:00
Daniele Forsi IU5HKX d9532a9c62 Fix compiler warning
Fixes:
simft990.c:64:36: warning: pointer targets in passing argument 2 of ‘getmyline5’ differ in signedness [-Wpointer-sign]
2025-08-05 20:51:04 +02:00
Daniele Forsi IU5HKX f691a68c06 Fix compiler warning
Fixes:
simft990.c:39:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2025-08-05 20:38:57 +02:00
Daniele Forsi IU5HKX 725fcee004 Fix compiler warning
Fixes:
simatd578.c:143:9: warning: ‘n’ may be used uninitialized [-Wmaybe-uninitialized]
2025-08-05 20:22:41 +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 790820ab22 Refactor to remove code duplication of one version of getmyline() 2025-08-04 11:36:03 +02:00
Daniele Forsi IU5HKX b809937395 Rename in preparation of conflicting changes 2025-08-04 11:36:03 +02:00
Daniele Forsi IU5HKX 498b45f5b0 Rename in preparation of conflicting changes 2025-08-04 11:36:03 +02:00
Daniele Forsi IU5HKX a5467f4033 Refactor to remove code duplication of one version of getmyline() 2025-08-04 11:34:00 +02:00
Daniele Forsi IU5HKX 10f6504897 Remove disabled code and change signature
Makes getmyline() identical to the other simulators.
2025-08-04 11:32:26 +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 9e51419ab8 Do not use relative paths for including rig.h
The Makefile adds all necessary include directories.
2025-08-03 16:09:51 +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 99df93067c Add a .gitignore for C++ tests 2025-08-03 09:35:03 +02:00
Daniele Forsi IU5HKX f89ebfd226 Add include missed by IWYU 2025-08-03 09:35:03 +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 1568a6c7fc Refactor to remove code duplication of typedef enum nc_rigid_e
Also updates nc_rigid_e from rigs/yaesu/newcat.c
There where different versions of that enum in the simulators.
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 7fc222dc88 Remove perror()
Makes getmyline() identical to the other simulators.
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 16a69722e2 Use the resp buffer for all responses
Insetad of the command buffer.
2025-08-02 16:20:38 +02:00
Daniele Forsi IU5HKX b5d136ff08 Print responses 2025-08-02 16:01:48 +02:00
Daniele Forsi IU5HKX f3e2ea9e3d Avoid printing the received command twice
It is printed at the beginning of the while loop.
2025-08-02 15:53:04 +02:00
Daniele Forsi IU5HKX 3009ec86b7 Add a .gitignore for simulators 2025-08-02 15:16:51 +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
Nate Bargmann 989623ec51
Merge GitHub PR #1824 2025-08-01 18:31:38 -05:00
Nate Bargmann b4eb1bdb12
Quell warning from clang
This warning was seen on MacOS and on Debian 12 and 13 using clang:

CC       kenwood.lo
kenwood.c:2293:9: warning: absolute value function 'abs' given an argument of type 'shortfreq_t' (aka 'long') but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value]
 2293 |     if (abs(rit) > 9999) { RETURNFUNC(-RIG_EINVAL); }
      |         ^
kenwood.c:2293:9: note: use function 'labs' instead
 2293 |     if (abs(rit) > 9999) { RETURNFUNC(-RIG_EINVAL); }
      |         ^~~
      |         labs
1 warning generated.

Closes issue #1806 on GitHub
2025-08-01 18:25:16 -05:00
Nate Bargmann a9ecd50329
Sanitize radio model names and manufacturers
Reference GitHub issue #1013.
2025-08-01 07:55:41 -05:00
Daniele Forsi IU5HKX 0c57ccad26 Add missing include file
Otherwise it isn't added to the distribution archive created by
"make distcheck".
2025-07-30 23:29:12 +02:00
Daniele Forsi IU5HKX 094b5e741a Remove unused variables 2025-07-30 23:29:12 +02:00
Daniele Forsi IU5HKX 200b2aaecc Remove unneeded typedef
It's only used by Yeasu simulators.
2025-07-30 23:29:12 +02:00
Daniele Forsi IU5HKX 6af3b3a94e Remove DECLARE_INITRIG_BACKEND()
This code is uneeded.
2025-07-30 23:29:12 +02:00
Daniele Forsi IU5HKX 5f78c54bae Remove DECLARE_INITRIG_BACKEND()
Breaks rig_probe() for rigs probed later (eg. Kenwood).
2025-07-30 23:29:12 +02:00
George Baltz N3GB b4f0a3b4b3 Update NEWS 2025-07-29 14:04:16 -04:00
George Baltz N3GB 1c36377480 Still more cppcheck tweaks 2025-07-29 13:10:28 -04:00
George Baltz N3GB 72bc62366d A few more cppcheck messages silenced 2025-07-28 19:31:20 -04:00
Daniele Forsi IU5HKX f8c3d6b614 Fix error messages 2025-07-28 22:04:18 +02:00
George Baltz N3GB e172d34381 Deprecate amp_get_conf(), too 2025-07-28 11:32:34 -04:00
George Baltz N3GB faad247f06 Deprecate rot_get_conf() 2025-07-28 10:43:10 -04:00
Nate Bargmann 48804dc4da
Merge GitHub PR #1819 2025-07-27 18:45:52 -05:00
Nate Bargmann 66acf19efe
Merge GitHub PR #1818 2025-07-27 18:01:00 -05:00
Nate Bargmann 53b7cef537
Merge GitHub PR #1817 2025-07-27 17:10:45 -05:00
Daniele Forsi IU5HKX c0ec84ca4b Add default values for make (dist)check 2025-07-27 20:13:07 +02:00
Daniele Forsi IU5HKX ed138699c3 Add missing files for make distcheck 2025-07-27 20:12:58 +02:00
dforsi 96d5abab47
Merge branch 'master' into fix/pytest 2025-07-27 18:22:26 +02:00