aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/amps/main.c2
1 files changed, 1 insertions, 1 deletions
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");