Mike Black W9MDB
ec2d5387a7
Remove shadowed declaration from icom.c
2021-09-11 09:53:17 -05:00
Mike Black W9MDB
02f0ae986f
Remove always true clause from icom.c
2021-09-11 09:48:36 -05:00
Mike Black W9MDB
644c640da4
Merge branch 'master' of https://github.com/Hamlib/Hamlib
2021-09-11 08:14:41 -05:00
Mike Black W9MDB
a85d6891c7
Fix return path in icom.c
2021-09-11 05:43:19 -05:00
Mike Black W9MDB
6e5bc09b27
Fix potential buffer underflow in icom.c
2021-09-11 05:41:25 -05:00
Mike Black W9MDB
2706cca649
Fix potential buffer underflow in icom frame.c
2021-09-11 05:41:03 -05:00
Mike Black W9MDB
a5064bc5d9
Fix shadow variable in flrig.c
2021-09-11 05:35:05 -05:00
Mike Black W9MDB
e21e9b3304
Reduce if clause in flrig.c
2021-09-11 05:33:22 -05:00
Mike Black W9MDB
d39daab0df
Remove unused function in ar7030p_utils.c
2021-09-11 05:13:40 -05:00
Michael Black
196884e3b1
Merge pull request #790 from AuroraRAS/keepgoingndk
...
Fix compile-time errors in Android NDK environment
2021-09-10 23:31:51 -05:00
Mike Black W9MDB
e881993433
Fix segfault in kenwood_set_vfo
...
https://github.com/Hamlib/Hamlib/issues/794
2021-09-10 05:36:42 -05:00
Mike Black W9MDB
f2c60aa33a
Since Icom rigs default to filter 2 if a filter is not selected we will do the same when turning on data mode
...
https://github.com/Hamlib/Hamlib/issues/791
2021-09-07 17:52:44 -05:00
Mike Black W9MDB
e900b4f9dc
Change set_icom_set_mode_with_data to not change mode unless necessary
...
Should allow filters to stay where they are set if USB-D is the starting mode
https://github.com/Hamlib/Hamlib/issues/791
2021-09-07 17:44:57 -05:00
AuroraRAS
b5bd1f4036
Append the missing information to build hamlib v4.3 for Android NDK
...
The following errors were fixed in this commit:
error: undefined symbol: rig_sprintf_vfo
error: undefined symbol: initrots2_radant
error: undefined symbol: ts890s_caps
2021-09-07 21:30:09 +08:00
Wouter van Gulik
b06a3c1714
Merge branch 'master' into ft817_improvements
2021-09-04 23:16:18 +02:00
Wouter van Gulik
5aa1572a30
Merge branch 'master' into ft817_improvements
2021-09-04 23:08:48 +02:00
Wouter van Gulik
6f02f38fdc
Add 60m to the 818 tx capabilities, it is one fo the few differences
...
between 818 and 817.
2021-09-04 22:57:23 +02:00
Wouter van Gulik
49b2eca6c1
Add get_ant for 817. NO TESTED! I ONLY HAVE A FT818!
2021-09-04 22:57:23 +02:00
Michael Black
187dcff6c5
Merge pull request #787 from wutje/yeasu_move_native_cmd_to_c_file
...
Yeasu rigs: move native command to C file, move function declaration to C file
2021-09-04 15:46:51 -05:00
Wouter van Gulik
4cf092fc0b
Implement get_ant (for 818 only) Add antenna info to RX lists
2021-09-04 22:20:54 +02:00
Wouter van Gulik
83b887ca8c
Properly implement getting ALC, RFPOWER and SWR for 817/818.
...
Previous implementation used improper command, and incorrect calibration,
and did not enable it in the caps.
Add SWR since that was easy enough.
2021-09-04 22:20:48 +02:00
Wouter van Gulik
53035454f2
Use plain 5 instead of YAESU_CMD_LENGTH as it is not related and only brings confusion
2021-09-04 22:13:32 +02:00
Wouter van Gulik
775fc832f6
Drop unused command typedef
2021-09-04 22:13:32 +02:00
Wouter van Gulik
12889cd957
Add definition of TX metering CAT command
2021-09-04 22:13:32 +02:00
Wouter van Gulik
e825e5b4c9
ft817: Move relevant code fomr header to C file.
...
Dropped pointless NULL check before free.
Explicitly implemented digi_mode instead of awkward add on to fm_status
Handle unlikely case of getting bogus digi mode, this prevent a garbage
read while determining the bandwidth of the mode
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
731eb39df8
Really fix icom_set_func so that it can also turn off DUAL_WATCH
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
e78a8258ce
Fix gp2000_get_mode bogus sscanf -- potential seg fault function would not work
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
9162127e9c
Fix icom_set_func so that it can also turn off DUAL_WATCH
...
In ic756.c remove ic756_set_func and use icom_set_func instead
2021-09-04 22:13:32 +02:00
Wouter van Gulik
b6837801a6
Drop pointless rig_s assignment from Yeasu code.
...
rig_s was assigned once and use once, better use rig->state direct;
it gives less code to read.
Also dramatically shrinked send_priv_cmd for ft1000mp, ft100, ft600,
ft747 and ft847 by simply using ncmd direct instead of via a variabel.
2021-09-04 22:13:32 +02:00
Wouter van Gulik
287e79d318
Stop copying table to private data, use table direct.
...
The table is never written so there is no point makeing the copy;
it only adds confusion for a programmer.
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
32de5c3485
astyle files
2021-09-04 22:13:32 +02:00
Chuck Ritola
20221524f8
Map FCDPP LNA and Mixer Gain as PREAMP values. Closes #766
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
970dff70a3
Make kenwood set_split_vfo behave the same as set_vfo in both directions
...
https://github.com/Hamlib/Hamlib/issues/746
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
7b61057202
For kenwood rigs reset split after set_vfo FR command if needed
...
Side effect of this change is support of reverse split by changing to VFOB
https://github.com/Hamlib/Hamlib/issues/746
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
8092588d97
Remove unnecessary set_mode command from TARGETABLE_MODE Icom rigs
...
https://github.com/Hamlib/Hamlib/issues/762
https://github.com/Hamlib/Hamlib/issues/430
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
a0e692006f
Remove override of PKTUSB mode for Icom rigs -- don't think we need this
...
Was causing mode toggling on IC7300 during PTT transitions in JTDX
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
32460321ab
astyle files
2021-09-04 22:13:32 +02:00
kacomet
fa4fa7a1d9
Corrected modes for FT-736R. The FT-736 supports SSB, CW, FM, FM-N (narrowband FM,) CW-N (narrowband CW.) Now, the FM-N and CW-N modes can be set from rigctl. Passbands have also been corrected to the values in the manual.
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
124e2c30c7
Remove RX from kenwood.c -- did not put rig on VFOA
...
https://github.com/Hamlib/Hamlib/issues/746
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
c04c4cbd2a
Remove another unneeded vfo swap from icom rigs
...
https://github.com/Hamlib/Hamlib/issues/762
https://github.com/Hamlib/Hamlib/issues/430
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
31696351a9
Add RX command to kenwood rigs hopefully setting VFO to VFOA after split set
...
FT450 and others turn split off doing FR0 and FT1; leaves the rig on VFOB
https://github.com/Hamlib/Hamlib/issues/746
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
eecffd31be
Change kenwood set_split to check split instead of priv->split
...
https://github.com/Hamlib/Hamlib/issues/746
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
a851da80e2
Fix Kenwood FR/FT sequencing
...
https://github.com/Hamlib/Hamlib/issues/746
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
c823564a2a
astyle all files preparing for 4.3 release
2021-09-04 22:13:32 +02:00
Wouter van Gulik
49240c9846
Simplify get_ant by having setting to unknown by default.
...
Drop setting to default in rigs.
Add some more documentation on get_ant.
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
dd6224bc5b
Fix Kenwood rigs that turn split off during FR command by turning split back on if needed
...
https://github.com/Hamlib/Hamlib/issues/746
2021-09-04 22:13:32 +02:00
Mike Black W9MDB
19c5e3e0a7
Fix ANT get/set for IC756Pro series
...
https://github.com/Hamlib/Hamlib/issues/774
2021-09-04 22:13:32 +02:00
Wouter van Gulik
a305b4f205
ft600.c: Drop width check, code below has no check.
...
The lower code would have crashed if width was NULL, so 'width == NULL' never
happens.
2021-09-04 22:13:32 +02:00
Wouter van Gulik
bfd0820362
icom.c: Drop width check. Other code assumes != NULL.
...
I am not sure if the intention was to check for width == default.
But that never worked, so for now do not change behaviour.
2021-09-04 22:13:32 +02:00
Wouter van Gulik
447fda0681
newcat.c: Drop width check; the only call site (get_mode) uses it before the call.
...
Besides most other rigs assume it is != NULL. So having width == NULL
would cause a crash for all other rigs.
2021-09-04 22:13:32 +02:00