summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2026-03-12 23:58:59 +0000
committerLeah Rowe <leah@libreboot.org>2026-03-12 23:58:59 +0000
commit36d914149d8f25f5736c2093ebff5b14bb115efa (patch)
tree973ddb7d8676abebc7bd99a7466426a324ad2f37 /util
parent2bb17c61d081b0d8fca7d109a040f5d80ebada91 (diff)
util/spkmodem-decode: rename auto_detect_tone
auto seems redundant. detect implies auto. Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'util')
-rw-r--r--util/spkmodem_decode/spkmodem-decode.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/spkmodem_decode/spkmodem-decode.c b/util/spkmodem_decode/spkmodem-decode.c
index 0a22c6d5..0c98faf6 100644
--- a/util/spkmodem_decode/spkmodem-decode.c
+++ b/util/spkmodem_decode/spkmodem-decode.c
@@ -211,7 +211,7 @@ static const char *argv0;
static int host_is_big_endian(void);
static void handle_audio(struct decoder_state *st);
-static void auto_detect_tone(struct decoder_state *st);
+static void detect_tone(struct decoder_state *st);
static int silent_signal(struct decoder_state *st);
static void select_low_tone(struct decoder_state *st);
static void collect_separator_tone(struct decoder_state *st);
@@ -314,14 +314,14 @@ handle_audio(struct decoder_state *st)
decode_pulse(st);
/* Detect tone per each frame */
- auto_detect_tone(st);
+ detect_tone(st);
}
/*
* Automatically detect spkmodem tone
*/
static void
-auto_detect_tone(struct decoder_state *st)
+detect_tone(struct decoder_state *st)
{
if (st->learn_frames >= LEARN_FRAMES)
return;