mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-25 12:27:28 +00:00
* added RIG_LEVEL_IS_FLOAT macro to known which levels are of float type,
and what are the others of integer type. git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@399 7ae35d74-ebe9-4afe-98af-79ac388436b8
This commit is contained in:
parent
f4f759c8a0
commit
aaec33e8a7
@ -5,7 +5,7 @@
|
||||
* will be used for obtaining rig capabilities.
|
||||
*
|
||||
*
|
||||
* $Id: rig.h,v 1.17 2001-02-14 23:51:44 f4cfe Exp $
|
||||
* $Id: rig.h,v 1.18 2001-02-25 23:06:18 f4cfe Exp $
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
@ -278,6 +278,11 @@ typedef union value_u value_t;
|
||||
#define RIG_LEVEL_SQLSTAT (1<<30) /* SQL status, arg int (open=1/closed=0). Deprecated, use get_dcd instead */
|
||||
#define RIG_LEVEL_STRENGTH (1<<31) /* Signal strength, arg int (dB) */
|
||||
|
||||
#define RIG_LEVEL_FLOAT_LIST (RIG_LEVEL_AF|RIG_LEVEL_RF|RIG_LEVEL_SQL|RIG_LEVEL_APF|RIG_LEVEL_NR|RIG_LEVEL_PBT_IN|RIG_LEVEL_PBT_OUT|RIG_LEVEL_RFPOWER|RIG_LEVEL_MICGAIN|RIG_LEVEL_COMP|RIG_LEVEL_BALANCE|RIG_LEVEL_SWR|RIG_LEVEL_ALC)
|
||||
|
||||
#define RIG_LEVEL_IS_FLOAT(l) ((l)&RIG_LEVEL_FLOAT_LIST)
|
||||
|
||||
|
||||
typedef unsigned long setting_t; /* 32 bits might not be enough.. */
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user