From d762b150b0ae34d2a99303893198ad4fd9bf07c7 Mon Sep 17 00:00:00 2001 From: "rob@marotori.com" Date: Tue, 3 Jul 2012 14:31:00 +0000 Subject: [PATCH] Fix to only issue trim center audio when actually at trim center! (used to issue at trim max too! --- src/open9x.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/open9x.cpp b/src/open9x.cpp index 210836650..d08aab3ea 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -1088,7 +1088,9 @@ void checkTrims() for (int16_t mark=TRIM_MIN; mark<=TRIM_MAX; mark+=TRIM_MAX) { if ((mark!=0 || !thro) && ((mark!=TRIM_MIN && after>=mark && beforemark))) { after = mark; - beepTrimMid = true; + if(mark == 0){ + beepTrimMid = true; + } } }