Fix channel count on dsm2 module, purely cosmetic (closes issue #3673) (#3689)

Taranis menu always use 8 channels as default opposed to 9x and Horus, which use the maximum number as default channel count (which is 6 on dsm2). This commit does not change that logic.
This commit is contained in:
Arne Schwabe
2016-08-04 16:45:23 +02:00
committed by Bertrand Songis
parent d24f60f68b
commit 6559456534
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -767,7 +767,7 @@ void menuModelSetup(uint8_t event)
if (checkIncDec_Ret) {
g_model.moduleData[EXTERNAL_MODULE].rfProtocol = 0;
g_model.moduleData[EXTERNAL_MODULE].channelsStart = 0;
g_model.moduleData[EXTERNAL_MODULE].channelsCount = 0;
g_model.moduleData[EXTERNAL_MODULE].channelsCount = min<int8_t>(0, MAX_EXTERNAL_MODULE_CHANNELS());
}
break;
case 1: