feat: Support for MPM DSM clone mode (#3974)

This commit is contained in:
3djc
2023-10-10 13:04:52 +10:00
committed by GitHub
parent 2295148ed9
commit f4f04c1827
11 changed files with 150 additions and 75 deletions
+2
View File
@@ -361,6 +361,8 @@ void sendFrameProtocolHeader(uint8_t*& p_buf, uint8_t module, bool failsafe)
optionValue = 0x00;
if (g_model.moduleData[module].multi.optionValue & 0x02)
optionValue |= 0x40; // 11ms servo refresh
if (g_model.moduleData[module].multi.optionValue & 0x04)
optionValue |= 0x20; // Cloned
optionValue |= sentModuleChannels(module); //add number of channels
}