mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-10-19 10:41:51 +00:00
Small FM squelch simplification.
This commit is contained in:
@@ -41,5 +41,5 @@ bool FMSquelch::execute(buffer_s16_t audio) {
|
||||
}
|
||||
}
|
||||
|
||||
return (max_squared < (threshold * threshold));
|
||||
return (max_squared < threshold_squared);
|
||||
}
|
||||
|
Reference in New Issue
Block a user