Add q303 multi protocols and fix subtype selection on 128x64 ui (#4286)

* Multi: add Q303 protocol and variants (CX10D/CX10WD)

* Fix subType selection on 128x64 UIs

* Fix options display on other radios for custom photo as well
This commit is contained in:
Arne Schwabe
2017-01-25 16:23:21 +01:00
committed by Bertrand Songis
parent 6e2474081f
commit 51d1e6e94a
21 changed files with 67 additions and 23 deletions
+1 -1
View File
@@ -936,7 +936,7 @@ void menuModelSetup(event_t event)
else if (IS_MODULE_MULTIMODULE(moduleIdx)) {
int optionValue = g_model.moduleData[moduleIdx].multi.optionValue;
const uint8_t multi_proto = g_model.moduleData[EXTERNAL_MODULE].getMultiProtocol(false);
const uint8_t multi_proto = g_model.moduleData[EXTERNAL_MODULE].getMultiProtocol(true);
const mm_protocol_definition* pdef = getMultiProtocolDefinition(multi_proto);
if (pdef->optionsstr)
lcdDrawTextAlignedLeft(y, pdef->optionsstr);