Browse Source

Remove newlines from freq, mode from Hamlib

develop
Fabian Kurz 16 years ago
parent
commit
6ff13d8d2b
  1. 2
      yfksubs.pl

2
yfksubs.pl

@ -5047,10 +5047,12 @@ sub queryrig {
print $sock "f\n";
$freq = <$sock>;
chomp($freq);
<$sock>; # rigctld sends an extra line "END"
print $sock "m\n";
$mode = <$sock>;
chomp($mode);
if ($mode eq 'CWR') {
$mode = 'CW';

Loading…
Cancel
Save