From 54ed5d5f822f64a12cdc06abfaddf4cb18bfa560 Mon Sep 17 00:00:00 2001 From: Andreas Eversberg Date: Mon, 30 Jan 2017 20:06:01 +0100 Subject: AMPS: Fixed setting of signal polarity when using SDR --- src/amps/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/amps') diff --git a/src/amps/main.c b/src/amps/main.c index b853b76..b742725 100644 --- a/src/amps/main.c +++ b/src/amps/main.c @@ -336,7 +336,7 @@ int main(int argc, char *argv[]) polarity = 1; /* positive */ else if (!strcmp(flip_polarity, "yes")) polarity = -1; /* negative */ - if (!strcmp(audiodev[0], "sdr")) + else if (!strcmp(audiodev[0], "sdr")) polarity = 1; /* SDR is always positive */ else { fprintf(stderr, "You must define, if the the TX deviation polarity has to be flipped. (-F yes | no) See help.\n"); -- cgit v1.2.3