mirror of
https://github.com/Hamlib/Hamlib
synced 2026-08-13 17:32:05 -04:00
GS-232A: Fix wrong end of line in commands
Similar toc78952310a, and as described in page 15 of the user manual for the Yaesu GS-232A, remove the extra line feed when sending commands. (cherry picked from commit8b41f25aa8)
This commit is contained in:
parent
e84dd5d727
commit
061fe078b3
1 changed files with 5 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue