From da80fb5c86a45beaf5c321276df9ef8d99224d19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Sun, 22 Jun 2003 19:39:31 +0000 Subject: [PATCH] added AM-S mode git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1482 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- include/hamlib/rig.h | 3 ++- src/misc.c | 3 ++- tests/rigctl.1 | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h index c0cacae26..ffcc395b0 100644 --- a/include/hamlib/rig.h +++ b/include/hamlib/rig.h @@ -2,7 +2,7 @@ * Hamlib Interface - API header * Copyright (c) 2000-2003 by Stephane Fillod and Frank Singleton * - * $Id: rig.h,v 1.81 2003-05-03 13:17:25 fillods Exp $ + * $Id: rig.h,v 1.82 2003-06-22 19:39:31 fillods Exp $ * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as @@ -685,6 +685,7 @@ typedef enum { RIG_MODE_WFM = (1<<6), /*!< broadcast wide FM */ RIG_MODE_CWR = (1<<7), /*!< CW reverse sideband */ RIG_MODE_RTTYR = (1<<8), /*!< RTTY reverse sideband */ + RIG_MODE_AMS = (1<<9), /*!< Amplitude Modulation Synchronous */ } rmode_t; /** \brief macro for backends, no to be used by rig_set_mode et al. */ diff --git a/src/misc.c b/src/misc.c index f0187a806..acd42e7c3 100644 --- a/src/misc.c +++ b/src/misc.c @@ -2,7 +2,7 @@ * Hamlib Interface - toolbox * Copyright (c) 2000-2003 by Stephane Fillod and Frank Singleton * - * $Id: misc.c,v 1.25 2003-03-24 23:07:10 fillods Exp $ + * $Id: misc.c,v 1.26 2003-06-22 19:39:31 fillods Exp $ * * This library is free software; you can redistribute it and/or modify * it under the terms of the GNU Library General Public License as @@ -417,6 +417,7 @@ static struct { const char *str; } mode_str[] = { { RIG_MODE_AM, "AM" }, + { RIG_MODE_AMS, "AMS" }, { RIG_MODE_FM, "FM" }, { RIG_MODE_CW, "CW" }, { RIG_MODE_CWR, "CWR" }, diff --git a/tests/rigctl.1 b/tests/rigctl.1 index 3fcd4b5a4..8ed86df38 100644 --- a/tests/rigctl.1 +++ b/tests/rigctl.1 @@ -118,7 +118,7 @@ Set frequency, in Hz. Get frequency, in Hz. .TP .B M, set_mode -Set mode/passband: AM, FM, CW, CWR, USB, LSB, RTTY, RTTYR, WFM. +Set mode/passband: AM, FM, CW, CWR, USB, LSB, RTTY, RTTYR, WFM, AMS. The passband is the exact passband in Hz, or 0 for the default. .TP .B m, get_mode @@ -179,7 +179,7 @@ Set TX frequency, in Hz. Get TX frequency. .TP .B X, set_split_mode -Set transmit mode/passband: AM, FM, CW, CWR, USB, LSB, RTTY, RTTYR, WFM. +Set transmit mode/passband: AM, FM, CW, CWR, USB, LSB, RTTY, RTTYR, WFM, AMS. The passband is the exact passband in Hz, or 0 for the default. .TP .B x, get_split_mode