Fix RIG_FLUSH_REMOVE #ifdef -- duh....

https://github.com/Hamlib/Hamlib/pull/712
pull/715/head
Mike Black W9MDB 2021-05-27 09:01:48 -05:00
rodzic 3c50d53273
commit 903df5cb95
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1907,7 +1907,7 @@ int HAMLIB_API parse_hoststr(char *hoststr, char host[256], char port[6])
#undef RIG_FLUSH_REMOVE #undef RIG_FLUSH_REMOVE
int HAMLIB_API rig_flush(hamlib_port_t *port) 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__, rig_debug(RIG_DEBUG_TRACE, "%s: called for %s device\n", __func__,
port->type.rig == RIG_PORT_SERIAL ? "serial" : "network"); port->type.rig == RIG_PORT_SERIAL ? "serial" : "network");