- Cast/change unsigned char to char in order to fix compile warnings.

- Incremented backend version numbers.


git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2129 7ae35d74-ebe9-4afe-98af-79ac388436b8
Hamlib-1.2.6rc1
Alexandru Csete OZ9AEC 2006-10-07 19:08:46 +00:00
rodzic 47f83303f8
commit f220f4ff85
2 zmienionych plików z 12 dodań i 12 usunięć

Wyświetl plik

@ -12,7 +12,7 @@
* Hy-Gain is a trademark of MFJ Enterprises
*
*
* $Id: rotorez.c,v 1.8 2003-10-01 19:32:00 fillods Exp $
* $Id: rotorez.c,v 1.9 2006-10-07 19:04:49 csete Exp $
*
*
* This library is free software; you can redistribute it and/or
@ -77,7 +77,7 @@ const struct rot_caps rotorez_rot_caps = {
.rot_model = ROT_MODEL_ROTOREZ,
.model_name = "Rotor-EZ",
.mfg_name = "Idiom Press",
.version = "0.1.2",
.version = "0.2",
.copyright = "LGPL",
.status = RIG_STATUS_NEW,
.rot_type = ROT_TYPE_OTHER,
@ -118,7 +118,7 @@ const struct rot_caps rotorcard_rot_caps = {
.rot_model = ROT_MODEL_ROTORCARD,
.model_name = "RotorCard",
.mfg_name = "Idiom Press",
.version = "0.1.2",
.version = "0.2",
.copyright = "LGPL",
.status = RIG_STATUS_NEW,
.rot_type = ROT_TYPE_OTHER,
@ -159,7 +159,7 @@ const struct rot_caps dcu_rot_caps = {
.rot_model = ROT_MODEL_DCU,
.model_name = "DCU-1/DCU-1X",
.mfg_name = "Hy-Gain",
.version = "0.1.2",
.version = "0.2",
.copyright = "LGPL",
.status = RIG_STATUS_NEW,
.rot_type = ROT_TYPE_OTHER,
@ -248,8 +248,8 @@ static int rotorez_rot_cleanup(ROT *rot) {
*/
static int rotorez_rot_set_position(ROT *rot, azimuth_t azimuth, elevation_t elevation) {
unsigned char cmdstr[8];
unsigned char execstr[5] = "AM1;";
char cmdstr[8];
char execstr[5] = "AM1;";
int err;
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);
@ -285,8 +285,8 @@ static int rotorez_rot_set_position(ROT *rot, azimuth_t azimuth, elevation_t ele
static int rotorez_rot_get_position(ROT *rot, azimuth_t *azimuth, elevation_t *elevation) {
struct rot_state *rs;
unsigned char cmdstr[5] = "AI1;";
unsigned char az[5]; /* read azimuth string */
char cmdstr[5] = "AI1;";
char az[5]; /* read azimuth string */
char *p;
azimuth_t tmp = 0;
int err;
@ -334,7 +334,7 @@ static int rotorez_rot_get_position(ROT *rot, azimuth_t *azimuth, elevation_t *e
*/
static int rotorez_rot_stop(ROT *rot) {
unsigned char cmdstr[2] = ";";
char cmdstr[2] = ";";
int err;
rig_debug(RIG_DEBUG_VERBOSE, "%s called\n", __func__);

Wyświetl plik

@ -3,7 +3,7 @@
*
* sartek.c - (C) Stephane Fillod 2003
*
* $Id: sartek.c,v 1.2 2003-10-01 19:32:01 fillods Exp $
* $Id: sartek.c,v 1.3 2006-10-07 19:08:46 csete Exp $
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
@ -56,7 +56,7 @@ const struct rot_caps sartek_rot_caps = {
.rot_model = ROT_MODEL_SARTEK1,
.model_name = "SARtek-1",
.mfg_name = "SARtek",
.version = "0.1",
.version = "0.2",
.copyright = "LGPL",
.status = RIG_STATUS_UNTESTED,
.rot_type = ROT_TYPE_OTHER,
@ -102,7 +102,7 @@ const struct rot_caps sartek_rot_caps = {
static int sartek_rot_set_position(ROT *rot, azimuth_t azimuth, elevation_t elevation)
{
unsigned char cmdstr[8];
char cmdstr[8];
int len, err;
rig_debug(RIG_DEBUG_TRACE, "%s called\n", __FUNCTION__);