From 794f8b5565a44b7f3a96ba88b88a733475189ba5 Mon Sep 17 00:00:00 2001 From: c vw Date: Sat, 26 Oct 2019 23:37:24 +0200 Subject: [PATCH] small fix --- rigctl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rigctl.c b/rigctl.c index b54e84f..507518b 100644 --- a/rigctl.c +++ b/rigctl.c @@ -527,6 +527,8 @@ static gpointer rigctl_cw_thread(gpointer data) } cw_busy=0; // mark one-line buffer free again } + // This may happen if cw_buf was empty or contained only blanks + if (num_buf == 0) continue; // these values may have changed, so recompute them here // This means that we can change the speed (KS command) while -- 2.45.2