George Baltz N3GB
8589d5c6bc
Fix unbalanced ENTERFUNC/RETURNFUNC pairs in icom.c
...
Also tweak comments/formats to eliminate false positives in code base
(except for the Catch-22 ones in tests/func_chk.c itself)
2024-12-22 16:48:56 -05:00
Michael Black W9MDB
f9185d1d24
Print error on bufferoverflow and astyle sprintflst.c
2024-12-22 15:19:38 -06:00
Michael Black W9MDB
e262fb82c2
Fix several potential overflows in sprintflst.c
2024-12-22 12:27:43 -06:00
Michael Black W9MDB
45cc53a526
Fix potential overflow in sprintflst.c
2024-12-22 11:36:45 -06:00
Michael Black W9MDB
65832ecf53
Fix compile warnings
2024-12-02 07:24:00 -06:00
Michael Black W9MDB
890ed18c43
Change morse_data_handler from LOCK to rig_lock as it needs to always use it
2024-12-02 07:20:42 -06:00
Michael Black W9MDB
711a351353
Merge branch 'master' of github.com:Hamlib/Hamlib
2024-12-01 22:41:04 -06:00
Michael Black W9MDB
5219ef2b26
Put a heavier LOCK around send_morse when clearing the buffer
2024-12-01 16:44:22 -06:00
Daniele Forsi IU5HKX
e480bc7479
Fix typos
2024-12-01 21:59:11 +01:00
Daniele Forsi IU5HKX
6036a65d2e
Fix typos in comments
2024-11-24 19:24:35 +01:00
George Baltz N3GB
11acef5d3b
MACROize new code.
2024-11-21 19:21:41 -05:00
Mike Black W9MDB
d444fe43c6
Fix compile warnings from gcc 14.2.0
2024-11-18 08:57:17 -06:00
Mike Black W9MDB
ec36b21f54
Remove forcine Icom rigs to always set mode.
...
If mode does not change then don't set it
https://github.com/Hamlib/Hamlib/issues/1580
2024-11-06 09:43:14 -06:00
Mike Black W9MDB
5c269964c2
astyle files in preparation for release 4.6
2024-11-06 08:07:34 -06:00
Mike Black W9MDB
d76da346f5
Add model_name to rig_get_rig_info
2024-11-04 16:44:22 -06:00
Mike Black W9MDB
4acfeef26a
Add VOICE MORSE SPLIT to MTYPE
2024-11-04 16:43:23 -06:00
Mike Black W9MDB
882d22a50c
Add help to N command in rigctl
2024-10-07 12:19:03 -05:00
Mike Black W9MDB
4afe039147
Improve conf.c debug output
2024-10-04 16:24:25 -05:00
Mike Black W9MDB
6a9cec677a
Have multicast wait until rig is powered on
2024-10-04 15:43:29 -05:00
Mike Black W9MDB
0548fea7c1
Fix spelling error in misc.c
2024-10-04 15:40:56 -05:00
Mike Black W9MDB
aa9d227d64
Add device_class strings to cm108
2024-10-04 15:39:17 -05:00
Mike Black W9MDB
a6fe6b5475
More sleep.c cleanup
2024-09-28 22:50:25 -05:00
Mike Black W9MDB
548745d1f0
Clean up sleep.c
2024-09-28 22:48:11 -05:00
Mike Black W9MDB
7bde413c52
New hl_usleep routine to fix power on/on slowness and a little faster performance to boot.
...
Times < 3ms use busy-wait for accuracy -- can't find any wait state to minimize CPU usage for those small times.
https://github.com/Hamlib/Hamlib/issues/1601
https://github.com/Hamlib/Hamlib/issues/1604
2024-09-27 22:57:58 -05:00
Mike Black W9MDB
4613f7d933
Reduce WARN to VERBOSE in network.c
2024-09-22 09:52:49 -05:00
Mike Black W9MDB
56eda7a76c
Do not start multicast routines -- defer to 4.7 when client software may be available
...
Was causing some problems during auto_power_on
2024-09-21 22:44:34 -05:00
Mike Black W9MDB
fc849732c0
Clean up some debug warnings
2024-09-13 11:33:18 -05:00
Mike Black W9MDB
711089f252
Turn off multicast by default -- need to set multicast_data_addr to 224.0.0.1 or such to enable
...
Also disable multicast_cmd_addr by default
2024-09-13 07:03:35 -05:00
Mike Black W9MDB
e09dd84bc2
Fix compile warning
2024-09-12 06:47:53 -05:00
Mike Black W9MDB
9360ab4e3b
Fix mingw build
2024-09-10 23:54:47 -05:00
George Baltz N3GB
5f6554c797
Use a reliable source for TZ offset
...
Both the POSIX and Linux man pages for localtime_r() state that
localtime_r need not set the global variable timezone. I found
that '\set_clock local' was using an offset of -0500 instead of
-0400 (EDT). Change date_strget to use tm_gmtoff.
2024-09-10 21:30:24 -04:00
Mike Black W9MDB
0082572cd0
Fix debug statement in sprintflst.c
2024-09-08 11:47:31 -05:00
Mike Black W9MDB
23b4e00f0e
Fix warning in register.c
2024-09-08 09:09:26 -05:00
Mike Black W9MDB
7e35ffac8d
Fix the get_vfo check for Icom rigs like the 7800 with older firmware. Current firmware also fixes the problem.
2024-08-31 14:05:17 -05:00
dernasherbrezon
099cc7fc48
Implement initial skywatcher rotator
...
Use GOTO mode when setting position.
Use cache for CPR (Counts Per Revolution) because it is hardcoded for the motor
2024-08-27 23:41:01 +01:00
Mike Black W9MDB
437334818f
Revert "Abort multicast routine when UDP errors occur"
...
This reverts commit 3b1283496c
.
2024-08-09 11:40:38 -05:00
Mike Black W9MDB
3b1283496c
Abort multicast routine when UDP errors occur
...
Some setups don't work correctly and this is not critical now
2024-08-07 17:26:03 -05:00
Mike Black W9MDB
dd9d98ca1a
Make write_block_sync return the correct value
2024-08-06 17:10:58 -05:00
Mike Black W9MDB
979d2adccf
On EBUSY write we'll do 2 retries with 200ms wait
2024-07-19 23:10:10 -05:00
George Baltz N3GB
1e8ba0dff9
Catch up with latest code
...
Fix compiler warning
2024-07-14 11:09:05 -04:00
Mike Black W9MDB
8cc51f5ad7
Fix Flex 127.0.0.1 error
2024-07-11 22:26:11 -05:00
Mike Black W9MDB
f5ad3c64bf
Fix compile problem with __TIMESIZE on some OS's
...
https://github.com/Hamlib/Hamlib/issues/1582
2024-07-11 22:17:29 -05:00
Mike Black W9MDB
6ed7cfe73d
Fix 2038 compile warnings and string usage
2024-07-05 08:43:54 -05:00
Mike Black W9MDB
7b9f1241d9
Fix null check compile warning
2024-07-05 08:19:35 -05:00
GeoBaltz
a2aecdcf02
Merge branch 'master' into rp12
2024-07-02 16:54:18 -04:00
George Baltz N3GB
37321a1df8
Play catch-up with recent code.
2024-07-02 13:17:26 -04:00
Mike Black W9MDB
b0dc954a92
Fix spelling error
2024-07-02 12:01:23 -05:00
Mike Black W9MDB
d4480045f3
Improve Flex error message
...
Add rig_debug_clear -- can make for shorter/better messages in WSJT-X and such
Add conf item "client" so WSJTX and GPREDICT can tell us who they are and we can do special things for them. Other clients TBD.
2024-07-02 11:58:28 -05:00
George Baltz N3GB
02102f60e4
Convert all rig->state. references in src/rig.c to pointers.
...
Remove obsolete comment
Fix possible cppcheck squawks/errors after conversion from substructures
to real pointers.
2024-07-01 16:27:53 -04:00
George Baltz N3GB
00bc700ec1
More pointerizations in src/*
2024-07-01 05:52:46 -04:00