Wykres commitów

22 Commity (907a178aa670d862bc7d158f2b72527e57f8876c)

Autor SHA1 Wiadomość Data
Mike Black W9MDB 907a178aa6 Some fixes for th.c operation
https://github.com/Hamlib/Hamlib/issues/1230
2023-02-06 16:01:08 -06:00
Daniele Forsi IU5HKX 7a132e2703 Remove unused includes
Removes includes of stdio.h stdlib.h string.h unistd.h
2022-07-24 17:08:57 +02:00
Mike Black W9MDB 8c34ce1a2d astyle source code 2022-02-05 15:27:43 -06:00
Mike Black W9MDB 68e121d82c Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mike Black W9MDB 92542cb028 Change sprintf to SNPRINTF in kenwood rigs
https://github.com/Hamlib/Hamlib/issues/857
2022-01-18 23:03:43 -06:00
Mike Black W9MDB 18f69356c9 Change sprintf to SNPRINTF for kenwood files 2022-01-10 23:03:54 -06:00
Wouter van Gulik 9aec383329 Simplify get_ant by having setting to unknown by default.
Drop setting to default in rigs.
Add some more documentation on get_ant.
2021-08-25 22:13:21 +02:00
Michael Black W9MDB 67afeb85e7 Fix compile warning from android/hamlib-compile 2021-02-27 23:42:22 -06:00
Michael Black W9MDB c70d841b83 Add NOCHANGE_PASSBAND to icom...cascading effect on adding vfo elsewhere...which is needed anyways
https://github.com/Hamlib/Hamlib/issues/448
2020-11-29 23:32:14 -06:00
Daniele Forsi d7b332c3f7 Fix spelling errors
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"

Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
Michael Black W9MDB 5e801fd2b5 astyle files 2020-07-07 11:39:26 -05:00
Bill Somerville 06d130371c
Updates to the TH-D7A/E back end
Allow for these rigs echo of successful set commands, no command
verification is requires nor necessary with TH style rigs.

Change rig_open to not use teh IF command with TH style rigs as it is
not supported and breaks communications for the next command.

Send the correct command to disable auto-information mode on TH style
rigs.

Ensure the correct command terminator is sent with all commands to TH
style rigs.

Fix an issue with MEM mode selection in the TH-D7.

Use the correct DCD detection command for the TH-D7.
2020-07-04 13:00:31 +01:00
Michael Black W9MDB 2813f0ef63 astyle files 2020-05-11 22:39:10 -05:00
mdblack98 8ad431a344 Change #warn on get_channel to RIG_ENIMPL errors
This needs to be validated on the rigs to see the individual behavior
It only gives an error when read_only=0, read_only=1 does not give any error
We want the behavior of actually setting the rig display to be based on this flag
https://github.com/Hamlib/Hamlib/issues/227
2020-05-06 08:06:14 -05:00
mdblack98 bf1a05084d astyle files 2020-05-03 17:24:42 -05:00
mdblack98 5eb5b6f3d8 https://github.com/Hamlib/Hamlib/issues/227
Added read_only flag everywhere
2020-04-26 14:37:03 -05:00
Michael Black 8eb09c2a38 More cppcheck fixes 2020-03-23 07:52:01 -05:00
Michael Black ff8ddf018c astyle all C files 2020-02-23 11:26:09 -06:00
Michael Black e315f5e3ac Added skeleton for new get_ant function that will return ant_tx and ant_rx if known
Every rig will need to be reviewed to fill these in as appropriate
2020-02-18 23:10:14 -06:00
Michael Black 7e8938ae65 Changed y command to now use mandatory antenna argument
Put a looplimit on icom_get_ant_count trying to get autodetect to work
Changes to icom_get_ant_count to try and get this working
Added dummy antenna # args to rigs that don't care i.e. only have 1 antenna
2020-02-02 08:38:10 -06:00
Michael Black d853c36fb3
Change get_ant to add another option for icom rigs (and others if needed) 2020-01-21 17:53:12 -06:00
Michael Black 8d6e2fc781
Directory migration to new layout 2020-01-17 09:22:44 -06:00