diff options
author | Leah Rowe <leah@libreboot.org> | 2023-06-04 15:42:01 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-06-04 15:42:01 +0100 |
commit | 3401f287b441a15ceb21b1de82a34897c2a92e24 (patch) | |
tree | fe105cadd1742bb739620367ae98572fc11e62c2 /util | |
parent | 2a6ad9715037a3b5cd2ed865d2e306049c496a0a (diff) |
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 <leah@libreboot.org>
Diffstat (limited to 'util')
-rw-r--r-- | util/spkmodem_recv/spkmodem-recv.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |