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-79ac388436b8
Hamlib-1.2.0
Stéphane Fillod, F8CFE 2004-01-15 23:04:52 +00:00
rodzic adf4e501a9
commit 3f0ace4dbc
1 zmienionych plików z 6 dodań i 8 usunięć

Wyświetl plik

@ -2,7 +2,7 @@
* Hamlib Interface - API header
* 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
* it under the terms of the GNU Library General Public License as
@ -254,12 +254,10 @@ typedef enum {
/**
* \brief Frequency type,
* Frequency type unit in Hz, able to hold SHF frequencies (64bits).
* This type holds an integer number of Hertz.
* Hamlib has no support yet for fractional number of Hertz.
* Frequency type unit in Hz, able to hold SHF frequencies.
*/
typedef signed long long freq_t;
#define FREQFMT "lli"
typedef double freq_t;
#define FREQFMT "lf"
/**
* \brief Short frequency type
@ -622,9 +620,9 @@ enum rig_parm_e {
* \brief Setting
*
* 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,