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:
parent
22c429a1a7
commit
3d29b8e7e5
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue