aboutsummaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorAndreas Eversberg <jolly@eversberg.eu>2017-07-14 20:54:43 +0200
committerAndreas Eversberg <jolly@eversberg.eu>2017-07-15 12:45:20 +0200
commita0885365333751101279af42373244fd3a80d340 (patch)
treef7cd6b09f80177b0ea2ac806fe7c27d52e55f7b2 /src/common
parentfda224c27f84b17ac6b0427534adcbe48be96635 (diff)
Minor fix for IQ data display
Diffstat (limited to 'src/common')
-rw-r--r--src/common/display_iq.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/common/display_iq.c b/src/common/display_iq.c
index 91f70a8..6a27485 100644
--- a/src/common/display_iq.c
+++ b/src/common/display_iq.c
@@ -207,8 +207,12 @@ void display_iq(float *samples, int length)
putchar('+');
else
putchar('-');
- } else
- putchar('|');
+ } else {
+ if (j == 0 || j == SIZE - 1)
+ putchar('+');
+ else
+ putchar('|');
+ }
} else if (screen[j][k] == ':' || screen[j][k] == '.' || screen[j][k] == '\'') {
/* red / green plot */
if (overdrive[j][k]) {