From dc7270598c4ee5c7651c16166fd195f08dc6e365 Mon Sep 17 00:00:00 2001 From: bsongis Date: Fri, 4 May 2012 18:39:24 +0000 Subject: [PATCH] Momentary Switches fix --- src/open9x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/open9x.cpp b/src/open9x.cpp index e69dd83e2..b3f659acd 100644 --- a/src/open9x.cpp +++ b/src/open9x.cpp @@ -1426,7 +1426,7 @@ void evalFunctions() } } - if (!momentary || ~active_functions & mask) { + if ((!momentary) || (~active_functions & mask)) { if (sd->func == FUNC_PLAY_SOUND) { #if defined(AUDIO) audioDefevent(AU_FRSKY_FIRST+sd->param);