From 3f0ace4dbcb2e031f6cd6a15429948963e520262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Thu, 15 Jan 2004 23:04:52 +0000 Subject: [PATCH] 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 --- include/hamlib/rig.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/include/hamlib/rig.h b/include/hamlib/rig.h index 4f4753602..e04b80668 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.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,