fix(radio): Mix delay not working when mix line has a switch (#4364)
This commit is contained in:
@@ -82,7 +82,7 @@ inline void MIXER_RESET()
|
||||
memset(chans, 0, sizeof(chans));
|
||||
memset(ex_chans, 0, sizeof(ex_chans));
|
||||
memset(act, 0, sizeof(act));
|
||||
memset(swOn, 0, sizeof(swOn));
|
||||
memset(mixState, 0, sizeof(mixState));
|
||||
mixerCurrentFlightMode = lastFlightMode = 0;
|
||||
lastAct = 0;
|
||||
logicalSwitchesReset();
|
||||
|
||||
@@ -692,7 +692,7 @@ TEST_F(MixerTest, DelayOnSwitch2)
|
||||
g_model.mixData[0].mltpx = MLTPX_ADD;
|
||||
g_model.mixData[0].srcRaw = MIXSRC_FIRST_SWITCH;
|
||||
g_model.mixData[0].weight = 100;
|
||||
g_model.mixData[0].swtch = SWSRC_ON;
|
||||
// g_model.mixData[0].swtch = SWSRC_ON;
|
||||
g_model.mixData[0].delayUp = 50;
|
||||
g_model.mixData[0].delayDown = 50;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user