From 031c937cdb123d2501180b6dbf1cc6cff9be3e2f Mon Sep 17 00:00:00 2001 From: wb2osz Date: Sat, 28 Jan 2023 16:36:51 +0000 Subject: [PATCH] Issue 444 - Command line -x calibrate tones are reversed --- src/direwolf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/direwolf.c b/src/direwolf.c index 3ad404e..f2aeca1 100644 --- a/src/direwolf.c +++ b/src/direwolf.c @@ -1053,7 +1053,7 @@ int main (int argc, char *argv[]) audio_config.achan[x_opt_chan].mark_freq, x_opt_chan); while (n-- > 0) { - tone_gen_put_bit(x_opt_chan, 0); + tone_gen_put_bit(x_opt_chan, 1); } break; case 's': // "Space" tone: -x s @@ -1061,7 +1061,7 @@ int main (int argc, char *argv[]) audio_config.achan[x_opt_chan].space_freq, x_opt_chan); while (n-- > 0) { - tone_gen_put_bit(x_opt_chan, 1); + tone_gen_put_bit(x_opt_chan, 0); } break; case 'p': // Silence - set PTT only: -x p