Added traces
This commit is contained in:
@@ -1839,6 +1839,7 @@ inline void playCustomFunctionFile(CustomFnData *sd, uint8_t id)
|
|||||||
|
|
||||||
void evalFunctions()
|
void evalFunctions()
|
||||||
{
|
{
|
||||||
|
TRACE("func");
|
||||||
MASK_FUNC_TYPE newActiveFunctions = 0;
|
MASK_FUNC_TYPE newActiveFunctions = 0;
|
||||||
MASK_CFN_TYPE newActiveFnSwitches = 0;
|
MASK_CFN_TYPE newActiveFnSwitches = 0;
|
||||||
|
|
||||||
|
|||||||
@@ -472,6 +472,7 @@ bool getSwitch(int8_t swtch)
|
|||||||
*/
|
*/
|
||||||
void evalLogicalSwitches(bool isCurrentPhase)
|
void evalLogicalSwitches(bool isCurrentPhase)
|
||||||
{
|
{
|
||||||
|
TRACE("eval %d %d", mixerCurrentFlightMode, isCurrentPhase);
|
||||||
for (unsigned int idx=0; idx<NUM_LOGICAL_SWITCH; idx++) {
|
for (unsigned int idx=0; idx<NUM_LOGICAL_SWITCH; idx++) {
|
||||||
LogicalSwitchContext &context = lswFm[mixerCurrentFlightMode].lsw[idx];
|
LogicalSwitchContext &context = lswFm[mixerCurrentFlightMode].lsw[idx];
|
||||||
bool result = getLogicalSwitch(idx);
|
bool result = getLogicalSwitch(idx);
|
||||||
|
|||||||
Reference in New Issue
Block a user