mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-20 05:36:23 +02:00
util/spkmodem_recv: Use parentheses on comparisons
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -47,7 +47,7 @@ handle_audio(void)
|
|||||||
{
|
{
|
||||||
static int llp = 0;
|
static int llp = 0;
|
||||||
|
|
||||||
if (lp > 3 * SAMPLES_PER_FRAME) {
|
if (lp > (3 * SAMPLES_PER_FRAME)) {
|
||||||
ascii_bit = 7;
|
ascii_bit = 7;
|
||||||
ascii = 0;
|
ascii = 0;
|
||||||
lp = 0;
|
lp = 0;
|
||||||
@@ -57,8 +57,8 @@ handle_audio(void)
|
|||||||
if (fflush(stdout) == EOF)
|
if (fflush(stdout) == EOF)
|
||||||
err(errno, NULL);
|
err(errno, NULL);
|
||||||
|
|
||||||
if (f2 <= FREQ_SEP_MIN || f2 >= FREQ_SEP_MAX
|
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();
|
fetch_sample();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user