Expand argument sizes for rigctl in order to accommodate Yaesu BS command reponse length

https://github.com/Hamlib/Hamlib/issues/424
pull/426/head
Michael Black W9MDB 2020-10-25 06:43:48 -05:00
rodzic 3116fc77f0
commit a70e45413a
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -78,7 +78,7 @@ extern int read_history();
#define MAXNAMSIZ 32
#define MAXNBOPT 100 /* max number of different options */
#define MAXARGSZ 127
#define MAXARGSZ 511
#define ARG_IN1 0x01
#define ARG_OUT1 0x02
@ -4330,7 +4330,7 @@ declare_proto_rig(send_cmd)
int retval;
struct rig_state *rs;
int backend_num, cmd_len;
#define BUFSZ 128
#define BUFSZ 512
char bufcmd[BUFSZ * 5]; // allow for 5 chars for binary
unsigned char buf[BUFSZ];
char eom_buf[4] = { 0xa, 0xd, 0, 0 };