diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2023-09-03 21:32:14 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2023-09-03 21:33:25 -0700 |
commit | 45548de598b226c18a21f1b0009995dd444836df (patch) | |
tree | 8a35924069bad30a7ad27770eea904badd3d322d /src/modules | |
parent | eb13ccdbd81fc47ee79741ad9e536f9a7d2163c2 (diff) |
modules/strobe: trivial fixup; s/<=/</
Remove strobe_update_taps() redundant assignment if already zero
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/strobe/strobe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/strobe/strobe.c b/src/modules/strobe/strobe.c index b12c0fe..9e7024c 100644 --- a/src/modules/strobe/strobe.c +++ b/src/modules/strobe/strobe.c @@ -64,7 +64,7 @@ static void strobe_update_taps(strobe_context_t *ctxt, til_stream_t *stream, flo else ctxt->vars.toggle = *ctxt->toggle; - if (ctxt->vars.hz <= 0.f) + if (ctxt->vars.hz < 0.f) ctxt->vars.hz = 0.f; } |