proper handling of external module

This commit is contained in:
3djc
2016-10-13 11:46:19 +02:00
parent 233ce403de
commit 628c7150df
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -784,7 +784,7 @@ bool menuModelSetup(event_t event)
drawStringWithIndex(MODEL_SETUP_2ND_COLUMN, y, STR_CH, moduleData.channelsStart+1, menuHorizontalPosition==0 ? attr : 0);
lcdDrawText(lcdNextPos+5, y, "-");
drawStringWithIndex(lcdNextPos+5, y, STR_CH, moduleData.channelsStart+NUM_CHANNELS(moduleIdx), menuHorizontalPosition==1 ? attr : 0);
if (IS_MODULE_XJT(moduleIdx) && g_model.moduleData[INTERNAL_MODULE].rfProtocol== 0) {
if (IS_MODULE_XJT(moduleIdx) && g_model.moduleData[moduleIdx].rfProtocol== RF_PROTO_X16) {
if (NUM_CHANNELS(moduleIdx) > 8)
lcdDrawText(lcdNextPos+15, y, "(18ms)");
else