Fix tests failure
This commit is contained in:
committed by
Malte Langermann
parent
50774cfca3
commit
a8b3525cd6
@@ -62,6 +62,12 @@
|
||||
#define TRIMS_GPIO_REG_LVU
|
||||
#define TRIMS_GPIO_PIN_LVU
|
||||
|
||||
// Switches
|
||||
#define SWITCHES_GPIO_REG_A
|
||||
#define SWITCHES_GPIO_PIN_A
|
||||
#define SWITCHES_GPIO_REG_B
|
||||
#define SWITCHES_GPIO_PIN_B
|
||||
|
||||
// Keys
|
||||
#define KEYS_GPIO_PIN_ENTER
|
||||
#define KEYS_GPIO_REG_ENTER
|
||||
|
||||
@@ -660,6 +660,8 @@ TEST_F(MixerTest, RecursiveAddChannel)
|
||||
|
||||
TEST_F(MixerTest, RecursiveAddChannelAfterInactivePhase)
|
||||
{
|
||||
if (switchGetMaxSwitches() < 4) return;
|
||||
|
||||
g_model.flightModeData[1].swtch = SWSRC_FIRST_SWITCH + 1;
|
||||
g_model.mixData[0].destCh = 0;
|
||||
g_model.mixData[0].mltpx = MLTPX_ADD;
|
||||
|
||||
Reference in New Issue
Block a user