Removed EOM from set_mem's "Cxx" command because it was leaving an extra LF in the receive queue, messing up the response to any subsequent command.

pull/1796/head
Mark J. Fine 2025-07-04 20:54:45 -04:00
rodzic cb0646c727
commit 49b01e1968
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -1032,11 +1032,11 @@ int drake_set_mem(RIG *rig, vfo_t vfo, int ch)
if (rig->caps->rig_model == RIG_MODEL_DKR8) if (rig->caps->rig_model == RIG_MODEL_DKR8)
{ {
SNPRINTF(buf, sizeof(buf), "C%02d" EOM, ch); SNPRINTF(buf, sizeof(buf), "C%02d", ch);
} }
else else
{ {
SNPRINTF(buf, sizeof(buf), "C%03d" EOM, ch); SNPRINTF(buf, sizeof(buf), "C%03d", ch);
} }
ack_len = 0; // fix compile-time warning "possibly uninitialized" ack_len = 0; // fix compile-time warning "possibly uninitialized"