fix(mpm): MPM status showing invalid protocol for XK (#3369)
* Fixed the last definition. * Upper 2 bits calculated wrong because of Frsky mess. * fix: More Frsky defintion corrections
This commit is contained in:
@@ -166,7 +166,7 @@ static void setupPulsesMulti(uint8_t*& p_buf, uint8_t module)
|
||||
sendMulti(p_buf, invert[module] & 0x08);
|
||||
}
|
||||
else {
|
||||
sendMulti(p_buf, (uint8_t) (((g_model.moduleData[module].multi.rfProtocol + 3) & 0xC0)
|
||||
sendMulti(p_buf, (uint8_t) (((g_model.moduleData[module].multi.rfProtocol + 1) & 0xC0)
|
||||
| (g_model.header.modelId[module] & 0x30)
|
||||
| (invert[module] & 0x08)
|
||||
//| 0x04 // Future use
|
||||
|
||||
Reference in New Issue
Block a user