kopia lustrzana https://github.com/Hamlib/Hamlib
Update LGPL header in Lowe source files.
TNX to Lucian Laga, YO6PLB, for the notification.Hamlib-1.2.15
rodzic
c7e64dfa09
commit
5709639a07
21
lowe/hf235.c
21
lowe/hf235.c
|
@ -2,21 +2,20 @@
|
||||||
* Hamlib Lowe backend - HF-235 description
|
* Hamlib Lowe backend - HF-235 description
|
||||||
* Copyright (c) 2003 by Stephane Fillod
|
* Copyright (c) 2003 by Stephane Fillod
|
||||||
*
|
*
|
||||||
* $Id: hf235.c,v 1.4 2006-10-07 18:01:31 csete Exp $
|
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Library General Public License as
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
* published by the Free Software Foundation; either version 2 of
|
* License as published by the Free Software Foundation; either
|
||||||
* the License, or (at your option) any later version.
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
* GNU Library General Public License for more details.
|
* Lesser General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Library General Public
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -95,7 +94,7 @@ const struct rig_caps hf235_caps = {
|
||||||
RIG_CHAN_END, /* FIXME */
|
RIG_CHAN_END, /* FIXME */
|
||||||
},
|
},
|
||||||
|
|
||||||
.rx_range_list1 = {
|
.rx_range_list1 = {
|
||||||
{kHz(30),MHz(30),HF235_MODES,-1,-1,HF235_VFO},
|
{kHz(30),MHz(30),HF235_MODES,-1,-1,HF235_VFO},
|
||||||
RIG_FRNG_END,
|
RIG_FRNG_END,
|
||||||
},
|
},
|
||||||
|
|
23
lowe/lowe.c
23
lowe/lowe.c
|
@ -2,21 +2,20 @@
|
||||||
* Hamlib Lowe backend - main file
|
* Hamlib Lowe backend - main file
|
||||||
* Copyright (c) 2003-2005 by Stephane Fillod
|
* Copyright (c) 2003-2005 by Stephane Fillod
|
||||||
*
|
*
|
||||||
* $Id: lowe.c,v 1.5 2006-10-07 18:01:31 csete Exp $
|
|
||||||
*
|
*
|
||||||
* This library is free software; you can redistribute it and/or modify
|
* This library is free software; you can redistribute it and/or
|
||||||
* it under the terms of the GNU Library General Public License as
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
* published by the Free Software Foundation; either version 2 of
|
* License as published by the Free Software Foundation; either
|
||||||
* the License, or (at your option) any later version.
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
* GNU Library General Public License for more details.
|
* Lesser General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Library General Public
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -93,7 +92,7 @@ int lowe_set_freq(RIG *rig, vfo_t vfo, freq_t freq)
|
||||||
char freqbuf[16], ackbuf[16];
|
char freqbuf[16], ackbuf[16];
|
||||||
int freq_len, ack_len, retval;
|
int freq_len, ack_len, retval;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*/
|
*/
|
||||||
freq_len = sprintf(freqbuf,"FRQ%f" EOM, (float)freq/1000);
|
freq_len = sprintf(freqbuf,"FRQ%f" EOM, (float)freq/1000);
|
||||||
retval = lowe_transaction(rig, freqbuf, freq_len, ackbuf, &ack_len);
|
retval = lowe_transaction(rig, freqbuf, freq_len, ackbuf, &ack_len);
|
||||||
|
@ -299,7 +298,7 @@ DECLARE_PROBERIG_BACKEND(lowe)
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* not found...
|
* not found...
|
||||||
*/
|
*/
|
||||||
if (memcmp(idbuf, "ID" EOM, 3)) /* catch loopback serial */
|
if (memcmp(idbuf, "ID" EOM, 3)) /* catch loopback serial */
|
||||||
rig_debug(RIG_DEBUG_VERBOSE,"probe_lowe: found unknown device "
|
rig_debug(RIG_DEBUG_VERBOSE,"probe_lowe: found unknown device "
|
||||||
|
|
19
lowe/lowe.h
19
lowe/lowe.h
|
@ -2,21 +2,20 @@
|
||||||
* Hamlib Lowe backend - main header
|
* Hamlib Lowe backend - main header
|
||||||
* Copyright (c) 2003 by Stephane Fillod
|
* Copyright (c) 2003 by Stephane Fillod
|
||||||
*
|
*
|
||||||
* $Id: lowe.h,v 1.1 2003-06-22 19:36:37 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
|
||||||
* it under the terms of the GNU Library General Public License as
|
* modify it under the terms of the GNU Lesser General Public
|
||||||
* published by the Free Software Foundation; either version 2 of
|
* License as published by the Free Software Foundation; either
|
||||||
* the License, or (at your option) any later version.
|
* version 2.1 of the License, or (at your option) any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This library is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||||
* GNU Library General Public License for more details.
|
* Lesser General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU Library General Public
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
* License along with this library; if not, write to the Free Software
|
* License along with this library; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue