mirror of
https://github.com/radio95-rnt/fm95.git
synced 2026-02-27 03:23:54 +01:00
change bs412 logic a bit
This commit is contained in:
@@ -530,7 +530,7 @@ int main(int argc, char **argv) {
|
|||||||
if(mpower > mpx_power) {
|
if(mpower > mpx_power) {
|
||||||
current_audio_level *= 0.95f;
|
current_audio_level *= 0.95f;
|
||||||
audio_level_adjusted = 1;
|
audio_level_adjusted = 1;
|
||||||
} else if(audio_level_adjusted && mpower < (mpx_power * 0.9)) {
|
} else if(audio_level_adjusted && mpower < (mpx_power * 0.5)) {
|
||||||
current_audio_level /= 0.95f;
|
current_audio_level /= 0.95f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user