summaryrefslogtreecommitdiff
path: root/util/spkmodem_recv/spkmodem-recv.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/spkmodem_recv/spkmodem-recv.c')
-rw-r--r--util/spkmodem_recv/spkmodem-recv.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/util/spkmodem_recv/spkmodem-recv.c b/util/spkmodem_recv/spkmodem-recv.c
index f2737b15..01830bd6 100644
--- a/util/spkmodem_recv/spkmodem-recv.c
+++ b/util/spkmodem_recv/spkmodem-recv.c
@@ -112,13 +112,13 @@ print_char(void)
#endif
if (f1 < FREQ_DATA_THRESHOLD)
ascii |= (1 << ascii_bit);
- if (!ascii_bit) {
+ if (ascii_bit)
+ return;
#if DEBUG
- printf("<%c, %x>", ascii, ascii);
+ printf("<%c, %x>", ascii, ascii);
#else
- printf("%c", ascii);
+ printf("%c", ascii);
#endif
- ascii_bit = 7;
- ascii = 0;
- }
+ ascii_bit = 7;
+ ascii = 0;
}