From c6abaa1111c044f21a553fb96a8bdc9feff54d80 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Thu, 31 Oct 2013 22:03:02 +0000 Subject: [PATCH] Correct receive buffer length for IS; comamnd. --- kenwood/ts870s.c | 1 + 1 file changed, 1 insertion(+) diff --git a/kenwood/ts870s.c b/kenwood/ts870s.c index e5e85a4e4..80418958e 100644 --- a/kenwood/ts870s.c +++ b/kenwood/ts870s.c @@ -144,6 +144,7 @@ static int ts870s_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width) { /* we only have HPF value and need LPF as well to calculate bandwidth */ + buf_len = 50; retval = kenwood_transaction (rig, "IS", 2, buf, &buf_len); if (retval != RIG_OK) return retval;