kopia lustrzana https://github.com/Hamlib/Hamlib
fix for *BSD portability
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1212 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.4
rodzic
af8bf1df18
commit
771cdba6f7
|
@ -2,7 +2,7 @@
|
|||
* Hamlib Kenwood backend - main file
|
||||
* Copyright (c) 2000-2002 by Stephane Fillod
|
||||
*
|
||||
* $Id: kenwood.c,v 1.48 2002-09-15 22:35:25 pa4tu Exp $
|
||||
* $Id: kenwood.c,v 1.49 2002-10-22 20:24:07 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
|
||||
|
@ -496,7 +496,7 @@ int kenwood_set_rit(RIG * rig, vfo_t vfo, shortfreq_t rit)
|
|||
|
||||
info_len = 0;
|
||||
retval = kenwood_transaction(rig, "RC;", 3, infobuf, &info_len);
|
||||
for (i = 0; i < abs(round(rit/10)); i++)
|
||||
for (i = 0; i < abs(rint(rit/10)); i++)
|
||||
{
|
||||
info_len = 0;
|
||||
retval = kenwood_transaction(rig, buf, len, infobuf, &info_len);
|
||||
|
|
Ładowanie…
Reference in New Issue