kopia lustrzana https://github.com/Hamlib/Hamlib
Fix Serial speed information in dumpcaps
rodzic
99170c1025
commit
22970f16de
|
@ -191,7 +191,7 @@ int dumpcaps(RIG *rig, FILE *fout)
|
|||
case RIG_PORT_SERIAL:
|
||||
fprintf(fout, "RS-232\n");
|
||||
fprintf(fout,
|
||||
"Serial speed: %d..%d bauds, %d%c%d %s\n",
|
||||
"Serial speed: %d..%d baud, %d%c%d, ctrl=%s\n",
|
||||
caps->serial_rate_min,
|
||||
caps->serial_rate_max,
|
||||
caps->serial_data_bits,
|
||||
|
@ -200,7 +200,7 @@ int dumpcaps(RIG *rig, FILE *fout)
|
|||
caps->serial_parity == RIG_PARITY_EVEN ? 'E' :
|
||||
caps->serial_parity == RIG_PARITY_MARK ? 'M' : 'S',
|
||||
caps->serial_stop_bits,
|
||||
caps->serial_handshake == RIG_HANDSHAKE_NONE ? "" :
|
||||
caps->serial_handshake == RIG_HANDSHAKE_NONE ? "NONE" :
|
||||
(caps->serial_handshake == RIG_HANDSHAKE_XONXOFF ? "XONXOFF" : "CTS/RTS")
|
||||
);
|
||||
break;
|
||||
|
|
|
@ -70,7 +70,7 @@ int dumpcaps_amp(AMP *amp, FILE *fout)
|
|||
case RIG_PORT_SERIAL:
|
||||
fprintf(fout, "RS-232\n");
|
||||
fprintf(fout,
|
||||
"Serial speed:\t\t%d..%d bauds, %d%c%d%s\n",
|
||||
"Serial speed:\t\t%d..%d baud, %d%c%d, ctrl=%s\n",
|
||||
caps->serial_rate_min,
|
||||
caps->serial_rate_max,
|
||||
caps->serial_data_bits,
|
||||
|
@ -79,8 +79,8 @@ int dumpcaps_amp(AMP *amp, FILE *fout)
|
|||
caps->serial_parity == RIG_PARITY_EVEN ? 'E' :
|
||||
caps->serial_parity == RIG_PARITY_MARK ? 'M' : 'S',
|
||||
caps->serial_stop_bits,
|
||||
caps->serial_handshake == RIG_HANDSHAKE_NONE ? "" :
|
||||
(caps->serial_handshake == RIG_HANDSHAKE_XONXOFF ? " XONXOFF" : " CTS/RTS")
|
||||
caps->serial_handshake == RIG_HANDSHAKE_NONE ? "NONE" :
|
||||
(caps->serial_handshake == RIG_HANDSHAKE_XONXOFF ? "XONXOFF" : "CTS/RTS")
|
||||
);
|
||||
break;
|
||||
|
||||
|
|
|
@ -88,7 +88,7 @@ int dumpcaps_rot(ROT *rot, FILE *fout)
|
|||
case RIG_PORT_SERIAL:
|
||||
fprintf(fout, "RS-232\n");
|
||||
fprintf(fout,
|
||||
"Serial speed:\t\t%d..%d bauds, %d%c%d%s\n",
|
||||
"Serial speed:\t\t%d..%d bauds, %d%c%d, ctrl=%s\n",
|
||||
caps->serial_rate_min,
|
||||
caps->serial_rate_max,
|
||||
caps->serial_data_bits,
|
||||
|
@ -97,8 +97,8 @@ int dumpcaps_rot(ROT *rot, FILE *fout)
|
|||
caps->serial_parity == RIG_PARITY_EVEN ? 'E' :
|
||||
caps->serial_parity == RIG_PARITY_MARK ? 'M' : 'S',
|
||||
caps->serial_stop_bits,
|
||||
caps->serial_handshake == RIG_HANDSHAKE_NONE ? "" :
|
||||
(caps->serial_handshake == RIG_HANDSHAKE_XONXOFF ? " XONXOFF" : " CTS/RTS")
|
||||
caps->serial_handshake == RIG_HANDSHAKE_NONE ? "NONE" :
|
||||
(caps->serial_handshake == RIG_HANDSHAKE_XONXOFF ? "XONXOFF" : "CTS/RTS")
|
||||
);
|
||||
break;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue