diff --git a/src/misc.c b/src/misc.c index 2b0c31fee..1cc7d65f5 100644 --- a/src/misc.c +++ b/src/misc.c @@ -1907,7 +1907,7 @@ int HAMLIB_API parse_hoststr(char *hoststr, char host[256], char port[6]) #undef RIG_FLUSH_REMOVE int HAMLIB_API rig_flush(hamlib_port_t *port) { -#ifdef RIG_FLUSH_REMOVE +#ifndef RIG_FLUSH_REMOVE rig_debug(RIG_DEBUG_TRACE, "%s: called for %s device\n", __func__, port->type.rig == RIG_PORT_SERIAL ? "serial" : "network");