Fix override channel parameter

This commit is contained in:
Raphael Coeffic
2021-11-10 11:07:04 +01:00
parent 125b282d81
commit ca31c275bd
4 changed files with 7 additions and 2 deletions
+4
View File
@@ -442,6 +442,10 @@ TEST(Conversions, ConversionTX16SFrom25)
EXPECT_EQ(MODULE_SUBTYPE_PXX1_ACCST_LR12, g_model.moduleData[1].subType);
EXPECT_EQ(4, g_model.moduleData[1].channelsCount); // 4 + 8 = 12
EXPECT_EQ(-SWSRC_SE0, g_model.customFn[0].swtch);
EXPECT_EQ(FUNC_OVERRIDE_CHANNEL, g_model.customFn[0].func);
EXPECT_EQ(-100, CFN_PARAM(&(g_model.customFn[0])));
const auto& top_widget = g_model.topbarData.zones[3];
EXPECT_STRNEQ("Value", top_widget.widgetName);