1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-21 15:25:17 +03:00

Missing default for internal module type (Fix #3017)

This commit is contained in:
Andre Bernet 2015-10-31 11:24:05 +04:00
parent 22c429a1a7
commit 3d29b8e7e5

View file

@ -667,6 +667,7 @@ void menuModelSetup(uint8_t event)
if (attr) { if (attr) {
CHECK_INCDEC_MODELVAR(event, g_model.moduleData[0].rfProtocol, RF_PROTO_OFF, RF_PROTO_LAST); CHECK_INCDEC_MODELVAR(event, g_model.moduleData[0].rfProtocol, RF_PROTO_OFF, RF_PROTO_LAST);
if (checkIncDec_Ret) { if (checkIncDec_Ret) {
g_model.moduleData[0].type = MODULE_TYPE_XJT;
g_model.moduleData[0].channelsStart = 0; g_model.moduleData[0].channelsStart = 0;
g_model.moduleData[0].channelsCount = 0; g_model.moduleData[0].channelsCount = 0;
} }