Skip to content

Commit

Permalink
Add AM and AMD modes to flrig and bandwidth
Browse files Browse the repository at this point in the history
  • Loading branch information
mdblack98 committed Mar 2, 2024
1 parent a96a97a commit c74b3c1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions rigs/dummy/flrig.c
Expand Up @@ -234,7 +234,9 @@ static struct s_modeMap modeMap[] =
{RIG_MODE_PKTUSB, NULL},
{RIG_MODE_PKTLSB, NULL},
{RIG_MODE_AM, NULL},
{RIG_MODE_PKTAM, NULL},
{RIG_MODE_FM, NULL},
{RIG_MODE_PKTFM, NULL},
{RIG_MODE_FMN, NULL},
{RIG_MODE_WFM, NULL},
{RIG_MODE_CW, NULL},
Expand Down Expand Up @@ -1811,6 +1813,9 @@ static int flrig_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width)
{
switch(*mode)
{
case RIG_MODE_PKTAM:
case RIG_MODE_AM:
case RIG_MODE_PKTFM:
case RIG_MODE_FM: *width = 10000;break;
}
}
Expand Down

0 comments on commit c74b3c1

Please sign in to comment.