[Hamlib-commits] Hamlib -- Ham radio control libraries branch master updated. f14054b6fa3ddf173628d
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Michael B. <mdb...@us...> - 2020-12-27 05:38:36
|
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 f14054b6fa3ddf173628d4e90286accedbfffa76 (commit) from b9d79641a6eb1b1ecd01de314048446397665d5f (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 f14054b6fa3ddf173628d4e90286accedbfffa76 Author: Michael Black W9MDB <mdb...@ya...> Date: Sat Dec 26 23:38:06 2020 -0600 Add DIGU/DIGL for flrig modes for PowerSDR diff --git a/rigs/dummy/flrig.c b/rigs/dummy/flrig.c index b4df56df..4b8cae14 100644 --- a/rigs/dummy/flrig.c +++ b/rigs/dummy/flrig.c @@ -196,15 +196,11 @@ static struct s_modeMap modeMap[] = {RIG_MODE_LSB, NULL}, {RIG_MODE_PKTUSB, NULL}, {RIG_MODE_PKTLSB, NULL}, - {RIG_MODE_PKTUSB, NULL}, - {RIG_MODE_PKTLSB, NULL}, {RIG_MODE_AM, NULL}, {RIG_MODE_FM, NULL}, {RIG_MODE_FMN, NULL}, {RIG_MODE_WFM, NULL}, {RIG_MODE_CW, NULL}, - {RIG_MODE_CW, NULL}, - {RIG_MODE_CWR, NULL}, {RIG_MODE_CWR, NULL}, {RIG_MODE_RTTY, NULL}, {RIG_MODE_RTTYR, NULL}, @@ -865,6 +861,8 @@ static int flrig_open(RIG *rig) else if (streq(p, "DATA-U")) { modeMapAdd(&modes, RIG_MODE_PKTUSB, p); } else if (streq(p, "DIG")) { modeMapAdd(&modes, RIG_MODE_PKTUSB, p); } else if (streq(p, "DIGI")) { modeMapAdd(&modes, RIG_MODE_PKTUSB, p); } + else if (streq(p, "DIGL")) { modeMapAdd(&modes, RIG_MODE_PKTLSB, p); } + else if (streq(p, "DIGU")) { modeMapAdd(&modes, RIG_MODE_PKTUSB, 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, "FM")) { modeMapAdd(&modes, RIG_MODE_FM, p); } diff --git a/rigs/dummy/flrig.h b/rigs/dummy/flrig.h index b46ceeb7..9e017c2c 100644 --- a/rigs/dummy/flrig.h +++ b/rigs/dummy/flrig.h @@ -28,7 +28,7 @@ #include <sys/time.h> #endif -#define BACKEND_VER "20201224" +#define BACKEND_VER "20201226" #define EOM "\r" #define TRUE 1 ----------------------------------------------------------------------- Summary of changes: rigs/dummy/flrig.c | 6 ++---- rigs/dummy/flrig.h | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) hooks/post-receive -- Hamlib -- Ham radio control libraries |