2001-03-04 12:54:12 +00:00
|
|
|
/*
|
2001-07-13 19:08:15 +00:00
|
|
|
* Hamlib Interface - calibration header
|
|
|
|
* Copyright (c) 2000,2001 by Stephane Fillod and Frank Singleton
|
2001-03-04 12:54:12 +00:00
|
|
|
*
|
|
|
|
*
|
2011-08-22 01:07:57 +00:00
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
2001-03-04 12:54:12 +00:00
|
|
|
*
|
2011-08-22 01:07:57 +00:00
|
|
|
* This library is distributed in the hope that it will be useful,
|
2001-07-13 19:08:15 +00:00
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
2011-08-22 01:07:57 +00:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
2001-03-04 12:54:12 +00:00
|
|
|
*
|
2011-08-22 01:07:57 +00:00
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
2001-07-13 19:08:15 +00:00
|
|
|
* License along with this library; if not, write to the Free Software
|
2011-08-22 01:07:57 +00:00
|
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2001-03-04 12:54:12 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CAL_H
|
|
|
|
#define _CAL_H 1
|
|
|
|
|
2001-06-15 07:08:37 +00:00
|
|
|
#include <hamlib/rig.h>
|
|
|
|
|
2001-06-12 23:59:21 +00:00
|
|
|
extern HAMLIB_EXPORT(float) rig_raw2val(int rawval, const cal_table_t *cal);
|
2019-05-30 06:37:49 +00:00
|
|
|
extern HAMLIB_EXPORT(float) rig_raw2val_float(int rawval, const cal_table_float_t *cal);
|
2001-03-04 12:54:12 +00:00
|
|
|
|
|
|
|
#endif /* _CAL_H */
|