diff --git a/rigs/uniden/uniden.c b/rigs/uniden/uniden.c index 2d2f56d0d..b19c07ab3 100644 --- a/rigs/uniden/uniden.c +++ b/rigs/uniden/uniden.c @@ -229,8 +229,8 @@ transaction_write: #endif /* Special case for SQuelch */ - if (replystr && !memcmp(cmdstr, "SQ", 2) && (replystr[0] == '-' - || replystr[0] == '+')) + if (replystr && !memcmp(cmdstr, "SQ", 2) && (data[0] == '-' + || data[0] == '+')) { retval = RIG_OK; goto transaction_quit;