GS-232A: Fix wrong end of line in commands

Similar to c78952310a, and
as described in page 15 of the user manual for the Yaesu GS-232A,
remove the extra line feed when sending commands.
Hamlib-3.0
Stephane Fillod 2012-06-11 23:30:44 +02:00
rodzic c78952310a
commit 8b41f25aa8
1 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -1,6 +1,6 @@
/*
* Hamlib Rotator backend - GS-232A
* Copyright (c) 2001-2010 by Stephane Fillod
* Copyright (c) 2001-2012 by Stephane Fillod
*
*
* This library is free software; you can redistribute it and/or
@ -36,8 +36,8 @@
#include "gs232a.h"
#define EOM "\r\n"
#define REPLY_EOM "\r"
#define EOM "\r"
#define REPLY_EOM "\r\n"
#define BUFSZ 64
@ -57,7 +57,7 @@
* RIG_REJECTED - if a negative acknowledge was received or command not
* recognized by rig.
*/
int
static int
gs232a_transaction (ROT *rot, const char *cmdstr,
char *data, size_t data_len)
{
@ -240,7 +240,7 @@ const struct rot_caps gs232a_rot_caps = {
.rot_model = ROT_MODEL_GS232A,
.model_name = "GS-232A",
.mfg_name = "Yaesu",
.version = "0.2",
.version = "0.3",
.copyright = "LGPL",
.status = RIG_STATUS_BETA,
.rot_type = ROT_TYPE_OTHER,