Multi: Enable D8, D16v1 and D16v2.1 TX clone mode (#7516)
* Clone mode * Switch table from octal to hex * Revert change to octal as requested by 3djc * Changing to Cloned to please 3djc ;-) * Minimum Multi version: 1.3.0.87 * Cosmetics * Cosmetics * Add cloned to X2 Co-authored-by: Pascal Langer <planger@mathworks.com> Co-authored-by: 3djc <lesitewebdejc@hotmail.com>
This commit is contained in:
co-authored by
Pascal Langer
3djc
parent
673fcb9287
commit
5e2fc7f1ae
@@ -295,11 +295,18 @@ void sendFrameProtocolHeader(uint8_t moduleIdx, bool failsafe)
|
||||
//D8
|
||||
type = 3;
|
||||
subtype = 0;
|
||||
} else if (subtype == MM_RF_FRSKY_SUBTYPE_V8) {
|
||||
}
|
||||
else if (subtype == MM_RF_FRSKY_SUBTYPE_D8_CLONED) {
|
||||
//D8
|
||||
type = 3;
|
||||
subtype = 1;
|
||||
}
|
||||
else if (subtype == MM_RF_FRSKY_SUBTYPE_V8) {
|
||||
//V8
|
||||
type = 25;
|
||||
subtype = 0;
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
type = 15;
|
||||
if (subtype == MM_RF_FRSKY_SUBTYPE_D16_8CH) // D16 8ch
|
||||
subtype = 1;
|
||||
@@ -307,8 +314,9 @@ void sendFrameProtocolHeader(uint8_t moduleIdx, bool failsafe)
|
||||
subtype = 0; // D16
|
||||
else if (subtype == MM_RF_FRSKY_SUBTYPE_D16_LBT)
|
||||
subtype = 2;
|
||||
else
|
||||
subtype = 3; // MM_RF_FRSKY_SUBTYPE_D16_LBT_8CH
|
||||
else if (subtype == MM_RF_FRSKY_SUBTYPE_D16_LBT_8CH)
|
||||
subtype = 3;
|
||||
else subtype = 4;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user