util/spkmodem_recv: Remove unused variable: pos

Signed-off-by: Leah Rowe <leah@libreboot.org>
fsdg20230625
Leah Rowe 2023-05-16 13:30:55 +01:00
parent a0abcb9f53
commit 63e43819b3
1 changed files with 1 additions and 2 deletions

View File

@ -24,7 +24,7 @@
signed short frame[2 * SAMPLES_PER_FRAME];
signed short pulse[2 * SAMPLES_PER_FRAME];
int ringpos = 0;
int pos, f1, f2;
int f1, f2;
int amplitude = 0;
int lp = 0;
int ascii_bit = 7;
@ -88,7 +88,6 @@ fetch_sample(void)
if (abs(frame[ringpos]) > THRESHOLD) { /* rising/falling edge(pulse) */
pulse[ringpos] = 1;
pos = !pos;
f2++;
} else {
pulse[ringpos] = 0;