kopia lustrzana https://github.com/Hamlib/Hamlib
IMPORTANT: freq_t type changed from integer to real, and setting_t type reduced from 64bits to 32 bits
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1647 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.2.0
rodzic
adf4e501a9
commit
3f0ace4dbc
|
@ -2,7 +2,7 @@
|
||||||
* Hamlib Interface - API header
|
* Hamlib Interface - API header
|
||||||
* Copyright (c) 2000-2003 by Stephane Fillod and Frank Singleton
|
* Copyright (c) 2000-2003 by Stephane Fillod and Frank Singleton
|
||||||
*
|
*
|
||||||
* $Id: rig.h,v 1.90 2003-12-24 09:07:52 fillods Exp $
|
* $Id: rig.h,v 1.91 2004-01-15 23:04:52 fillods Exp $
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Library General Public License as
|
* it under the terms of the GNU Library General Public License as
|
||||||
|
@ -254,12 +254,10 @@ typedef enum {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Frequency type,
|
* \brief Frequency type,
|
||||||
* Frequency type unit in Hz, able to hold SHF frequencies (64bits).
|
* Frequency type unit in Hz, able to hold SHF frequencies.
|
||||||
* This type holds an integer number of Hertz.
|
|
||||||
* Hamlib has no support yet for fractional number of Hertz.
|
|
||||||
*/
|
*/
|
||||||
typedef signed long long freq_t;
|
typedef double freq_t;
|
||||||
#define FREQFMT "lli"
|
#define FREQFMT "lf"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \brief Short frequency type
|
* \brief Short frequency type
|
||||||
|
@ -622,9 +620,9 @@ enum rig_parm_e {
|
||||||
* \brief Setting
|
* \brief Setting
|
||||||
*
|
*
|
||||||
* This can be a func, a level or a parm.
|
* This can be a func, a level or a parm.
|
||||||
* Each bit designate one of them, let's hope 64 bits will be enough.
|
* Each bit designate one of them.
|
||||||
*/
|
*/
|
||||||
typedef unsigned long long setting_t;
|
typedef unsigned long setting_t;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* tranceive mode, ie. the rig notify the host of any event,
|
* tranceive mode, ie. the rig notify the host of any event,
|
||||||
|
|
Ładowanie…
Reference in New Issue