From b40a30b11bb59e792dd9cf0b7d0da9a6820ada13 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 4 Jun 2023 17:05:24 +0100 Subject: util/spkmodem-recv: reduce indent in print_char() Signed-off-by: Leah Rowe --- util/spkmodem_recv/spkmodem-recv.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'util/spkmodem_recv') 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; } -- cgit v1.2.1