Added traces

This commit is contained in:
Damjan Adamic
2014-06-22 13:17:16 +02:00
parent ffd4151029
commit c0c6a90f65
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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;
+1
View File
@@ -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<NUM_LOGICAL_SWITCH; idx++) {
LogicalSwitchContext &context = lswFm[mixerCurrentFlightMode].lsw[idx];
bool result = getLogicalSwitch(idx);