[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. be045da06b661234feb6b
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: n0nb <n0...@us...> - 2024-12-06 11:38:51
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Hamlib -- Ham radio control libraries". The branch, master has been updated via be045da06b661234feb6b1258ca58e8c028b9b56 (commit) via 58924b7bec47a73ee4665030be78b83a530b45c0 (commit) from 671a3b8562d71f28cb75874d30c90f969a129902 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit be045da06b661234feb6b1258ca58e8c028b9b56 Author: Michael Black W9MDB <mdb...@ya...> Date: Wed Dec 4 17:15:35 2024 -0600 Fix set_mode on rigctlcom diff --git a/tests/rigctlcom.c b/tests/rigctlcom.c index fca7aaabd..3938a4027 100644 --- a/tests/rigctlcom.c +++ b/tests/rigctlcom.c @@ -224,7 +224,7 @@ int main(int argc, char *argv[]) char conf_parms[MAXCONFLEN] = ""; int status; - printf("rigctlcom Version 1.5\n"); + printf("rigctlcom Version 1.6\n"); while (1) { @@ -1604,7 +1604,6 @@ static int handle_ts2000(void *arg) } else if (strncmp(arg, "MD", 2) == 0) { - //char response[32]; mode_t mode = 0; int imode = 0; @@ -1633,10 +1632,6 @@ static int handle_ts2000(void *arg) case 9: mode = RIG_MODE_RTTYR; break; } rig_set_mode(my_rig, RIG_VFO_A, mode, -1); -#if 0 - SNPRINTF(response, sizeof(response), "MD%c;", mode + '0'); - return write_block2((void *)__func__, &my_com, response, strlen(response)); -#endif } else if (strcmp(arg, "PS1;") == 0) { commit 58924b7bec47a73ee4665030be78b83a530b45c0 Author: Michael Black W9MDB <mdb...@ya...> Date: Wed Dec 4 15:43:47 2024 -0600 Add DATA_FMN mode to flrig diff --git a/rigs/dummy/flrig.c b/rigs/dummy/flrig.c index df6f27bde..dac27e01e 100644 --- a/rigs/dummy/flrig.c +++ b/rigs/dummy/flrig.c @@ -1047,6 +1047,7 @@ static int flrig_open(RIG *rig) else if (streq(p, "D-USB")) { modeMapAdd(&modes, RIG_MODE_PKTUSB, p); } else if (streq(p, "DATA")) { modeMapAdd(&modes, RIG_MODE_PKTUSB, p); } else if (streq(p, "DATA-FM")) { modeMapAdd(&modes, RIG_MODE_PKTFM, p); } + else if (streq(p, "DATA-FMN")) { modeMapAdd(&modes, RIG_MODE_PKTFMN, p); } else if (streq(p, "DATA-L")) { modeMapAdd(&modes, RIG_MODE_PKTLSB, p); } else if (streq(p, "DATA-R")) { modeMapAdd(&modes, RIG_MODE_PKTLSB, p); } else if (streq(p, "DATA-LSB")) { modeMapAdd(&modes, RIG_MODE_PKTLSB, p); } ----------------------------------------------------------------------- Summary of changes: rigs/dummy/flrig.c | 1 + tests/rigctlcom.c | 7 +------ 2 files changed, 2 insertions(+), 6 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |