Fixed MPM protolist after rebase
This commit is contained in:
committed by
Raphael Coeffic
parent
dec89b56c2
commit
0a38120024
@@ -343,10 +343,7 @@ void MultiRfProtocols::fillBuiltinProtos()
|
|||||||
(pdef->failsafe ? 0x01 : 0) | (pdef->disable_ch_mapping ? 0x02 : 0);
|
(pdef->failsafe ? 0x01 : 0) | (pdef->disable_ch_mapping ? 0x02 : 0);
|
||||||
|
|
||||||
if (pdef->subTypeString) {
|
if (pdef->subTypeString) {
|
||||||
int st_len = pdef->subTypeString[0];
|
rfProto.fillSubProtoList(pdef->subTypeString, pdef->maxSubtype + 1);
|
||||||
const char* s = pdef->subTypeString + 1;
|
|
||||||
|
|
||||||
rfProto.fillSubProtoList(s, pdef->maxSubtype + 1, st_len);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protoList.emplace_back(rfProto);
|
protoList.emplace_back(rfProto);
|
||||||
|
|||||||
Reference in New Issue
Block a user