From 6573a283a81d43a699d92b8fdedd8086b0b60c95 Mon Sep 17 00:00:00 2001 From: Bill Somerville Date: Sun, 26 Jan 2020 12:50:07 +0000 Subject: [PATCH] Fixed erroneous messages in rig_close with GPIO(N) PTT or DCD types --- src/rig.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rig.c b/src/rig.c index 6091db1d5..94bf0541d 100644 --- a/src/rig.c +++ b/src/rig.c @@ -981,6 +981,7 @@ int HAMLIB_API rig_close(RIG *rig) case RIG_PTT_GPION: gpio_ptt_set(&rs->pttport, RIG_PTT_OFF); port_close(&rs->pttport, RIG_PORT_GPIO); + break; default: rig_debug(RIG_DEBUG_ERR, @@ -1012,6 +1013,7 @@ int HAMLIB_API rig_close(RIG *rig) case RIG_DCD_GPIO: case RIG_DCD_GPION: port_close(&rs->dcdport, RIG_PORT_GPIO); + break; default: rig_debug(RIG_DEBUG_ERR,