From 3401f287b441a15ceb21b1de82a34897c2a92e24 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 4 Jun 2023 15:42:01 +0100 Subject: util/spkmodem-recv: bsd-style indent my style was: 2 tabs. bsd-style, for extending a line, is 4 spaces. this style has grown on me, so let's do it here Signed-off-by: Leah Rowe --- util/spkmodem_recv/spkmodem-recv.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'util') diff --git a/util/spkmodem_recv/spkmodem-recv.c b/util/spkmodem_recv/spkmodem-recv.c index 8d7766c1..481643d1 100644 --- a/util/spkmodem_recv/spkmodem-recv.c +++ b/util/spkmodem_recv/spkmodem-recv.c @@ -76,7 +76,7 @@ handle_audio(void) err(ERR(), NULL); if ((f2 <= FREQ_SEP_MIN) || (f2 >= FREQ_SEP_MAX) - || (f1 <= FREQ_DATA_MIN) || (f1 >= FREQ_DATA_MAX)) { + || (f1 <= FREQ_DATA_MIN) || (f1 >= FREQ_DATA_MAX)) { fetch_sample(); return; } @@ -110,7 +110,7 @@ void read_frame(int ringpos) { if (fread(frame + ringpos, 1, sizeof(frame[0]), stdin) - != sizeof(frame[0])) + != sizeof(frame[0])) err(ERR(), "Could not read from frame."); if (ferror(stdin) != 0) err(ERR(), "Could not read from frame"); @@ -124,7 +124,7 @@ print_char(void) if ((stdin_pos = ftell(stdin)) == -1) err(ERR(), NULL); printf ("%d %d %d @%ld\n", f1, f2, FREQ_DATA_THRESHOLD, - stdin_pos - sizeof(frame)); + stdin_pos - sizeof(frame)); #endif if (f1 < FREQ_DATA_THRESHOLD) ascii |= (1 << ascii_bit); -- cgit v1.2.1