mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-15 18:00:28 -04:00
Small FM squelch simplification.
This commit is contained in:
parent
0962343190
commit
ef37bbd851
2 changed files with 2 additions and 2 deletions
|
@ -41,5 +41,5 @@ bool FMSquelch::execute(buffer_s16_t audio) {
|
|||
}
|
||||
}
|
||||
|
||||
return (max_squared < (threshold * threshold));
|
||||
return (max_squared < threshold_squared);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue