mirror of https://github.com/wb2osz/direwolf.git
Issue 444 - Command line -x calibrate tones are reversed
This commit is contained in:
parent
ef573f2acf
commit
031c937cdb
|
@ -1053,7 +1053,7 @@ int main (int argc, char *argv[])
|
||||||
audio_config.achan[x_opt_chan].mark_freq,
|
audio_config.achan[x_opt_chan].mark_freq,
|
||||||
x_opt_chan);
|
x_opt_chan);
|
||||||
while (n-- > 0) {
|
while (n-- > 0) {
|
||||||
tone_gen_put_bit(x_opt_chan, 0);
|
tone_gen_put_bit(x_opt_chan, 1);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 's': // "Space" tone: -x s
|
case 's': // "Space" tone: -x s
|
||||||
|
@ -1061,7 +1061,7 @@ int main (int argc, char *argv[])
|
||||||
audio_config.achan[x_opt_chan].space_freq,
|
audio_config.achan[x_opt_chan].space_freq,
|
||||||
x_opt_chan);
|
x_opt_chan);
|
||||||
while (n-- > 0) {
|
while (n-- > 0) {
|
||||||
tone_gen_put_bit(x_opt_chan, 1);
|
tone_gen_put_bit(x_opt_chan, 0);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'p': // Silence - set PTT only: -x p
|
case 'p': // Silence - set PTT only: -x p
|
||||||
|
|
Loading…
Reference in New Issue