diff --git a/racal/ra3702.c b/racal/ra3702.c index c4d33e5f6..43845dd52 100644 --- a/racal/ra3702.c +++ b/racal/ra3702.c @@ -2,19 +2,19 @@ * Hamlib Racal backend - RA3702 description * Copyright (c) 2010 by Stephane Fillod * - * This library is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. + * 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. * - * 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 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Library General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * 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 - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ @@ -119,7 +119,7 @@ const struct rig_caps ra3702_caps = { /* at -3dB */ {RIG_MODE_SSB|RIG_MODE_CW|RIG_MODE_RTTY, kHz(2.7)}, {RA3702_MODES, kHz(12)}, - {RA3702_MODES, kHz(6)}, + {RA3702_MODES, kHz(6)}, {RA3702_MODES, Hz(300)}, {RA3702_MODES, kHz(1)}, {RA3702_MODES, kHz(2.7)}, diff --git a/racal/ra37xx.c b/racal/ra37xx.c index b809fbf6a..031da9411 100644 --- a/racal/ra37xx.c +++ b/racal/ra37xx.c @@ -2,19 +2,19 @@ * Hamlib Racal backend - RA37XX main file * Copyright (c) 2004-2010 by Stephane Fillod * - * This library is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. + * 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. * - * 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 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Library General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * 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 - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ @@ -389,13 +389,13 @@ int ra37xx_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width) int ra37xx_set_func(RIG *rig, vfo_t vfo, setting_t func, int status) { char cmdbuf[BUFSZ]; - + switch (func) { case RIG_FUNC_MUTE: sprintf(cmdbuf, "MUTE%d", status ? 1 : 0); break; default: - rig_debug(RIG_DEBUG_ERR,"%s: unsupported %d\n", + rig_debug(RIG_DEBUG_ERR,"%s: unsupported %d\n", __FUNCTION__, func); return -RIG_EINVAL; } @@ -435,7 +435,7 @@ int ra37xx_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val) { char cmdbuf[BUFSZ]; int agc; - + switch (level) { case RIG_LEVEL_AF: sprintf(cmdbuf, "AFL%d", (int)(val.f*255)); @@ -469,7 +469,7 @@ int ra37xx_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val) break; default: - rig_debug(RIG_DEBUG_ERR,"%s: unsupported %d\n", + rig_debug(RIG_DEBUG_ERR,"%s: unsupported %d\n", __FUNCTION__, level); return -RIG_EINVAL; } @@ -576,7 +576,7 @@ const char* ra37xx_get_info(RIG *rig) infobuf[res_len] = '\0'; - /* TODO: "QSW"? c.f. 5-43 */ + /* TODO: "QSW"? c.f. 5-43 */ /* skip "ID" */ return infobuf+2; diff --git a/racal/ra37xx.h b/racal/ra37xx.h index 96b97a240..740424a00 100644 --- a/racal/ra37xx.h +++ b/racal/ra37xx.h @@ -2,19 +2,19 @@ * Hamlib Racal backend - RA37XX header * Copyright (c) 2004-2010 by Stephane Fillod * - * This library is free software; you can redistribute it and/or modify - * it under the terms of the GNU Library General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. + * 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. * - * 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 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Library General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * 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 - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ diff --git a/racal/ra6790.c b/racal/ra6790.c index edc32109d..63a69acab 100644 --- a/racal/ra6790.c +++ b/racal/ra6790.c @@ -2,21 +2,20 @@ * Hamlib Racal backend - RA6790 description * Copyright (c) 2004 by Stephane Fillod * - * $Id: ra6790.c,v 1.1 2004-09-12 21:28:26 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 - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. + * 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. * - * 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 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Library General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * 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 - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ diff --git a/racal/racal.c b/racal/racal.c index 7533dc7d5..af8b6ac46 100644 --- a/racal/racal.c +++ b/racal/racal.c @@ -2,21 +2,20 @@ * Hamlib Racal backend - main file * Copyright (c) 2004-2010 by Stephane Fillod * - * $Id: racal.c,v 1.2 2009-02-23 21:53:51 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 - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. + * 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. * - * 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 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Library General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * 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 - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */ @@ -317,7 +316,7 @@ int racal_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val) struct racal_priv_data *priv = (struct racal_priv_data*)rig->state.priv; char cmdbuf[BUFSZ]; int agc; - + switch (level) { case RIG_LEVEL_RF: /* Manually set threshold */ @@ -344,7 +343,7 @@ int racal_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val) break; default: - rig_debug(RIG_DEBUG_ERR,"%s: unsupported %d\n", + rig_debug(RIG_DEBUG_ERR,"%s: unsupported %d\n", __FUNCTION__, level); return -RIG_EINVAL; } @@ -452,7 +451,7 @@ const char* racal_get_info(RIG *rig) if (retval < 0) strcpy(filterbuf,"IO error"); - sprintf(infobuf, "BITE errors: %s, Filters: %s\n", + sprintf(infobuf, "BITE errors: %s, Filters: %s\n", bitebuf+1, filterbuf); return infobuf; diff --git a/racal/racal.h b/racal/racal.h index 2195ca860..129764d2f 100644 --- a/racal/racal.h +++ b/racal/racal.h @@ -2,21 +2,20 @@ * Hamlib Racal backend - main header * Copyright (c) 2004-2010 by Stephane Fillod * - * $Id: racal.h,v 1.1 2004-09-12 21:28:26 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 - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. + * 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. * - * 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 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU Library General Public License for more details. + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * 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 - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA * */