From c0c6a90f65cdec91b5727516da97116fda1a3dc8 Mon Sep 17 00:00:00 2001 From: Damjan Adamic Date: Sun, 22 Jun 2014 13:17:16 +0200 Subject: [PATCH] Added traces --- radio/src/opentx.cpp | 1 + radio/src/switches.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/radio/src/opentx.cpp b/radio/src/opentx.cpp index bc6dffd4c..70c01c98f 100644 --- a/radio/src/opentx.cpp +++ b/radio/src/opentx.cpp @@ -1839,6 +1839,7 @@ inline void playCustomFunctionFile(CustomFnData *sd, uint8_t id) void evalFunctions() { + TRACE("func"); MASK_FUNC_TYPE newActiveFunctions = 0; MASK_CFN_TYPE newActiveFnSwitches = 0; diff --git a/radio/src/switches.cpp b/radio/src/switches.cpp index 64323b026..8943a21ab 100644 --- a/radio/src/switches.cpp +++ b/radio/src/switches.cpp @@ -472,6 +472,7 @@ bool getSwitch(int8_t swtch) */ void evalLogicalSwitches(bool isCurrentPhase) { + TRACE("eval %d %d", mixerCurrentFlightMode, isCurrentPhase); for (unsigned int idx=0; idx