Remove DSM wrong PNRG since the multi will avoid ids that trigger this problem

This commit is contained in:
Arne Schwabe
2016-10-17 01:03:50 +02:00
parent 6bec8cef5a
commit 1aa6d113ee
18 changed files with 43 additions and 76 deletions
+2 -6
View File
@@ -132,12 +132,8 @@ void setupPulsesMultimodule(uint8_t port)
if(g_model.moduleData[port].multi.autoBindMode && moduleFlag[port] == MODULE_BIND)
subtype = MM_RF_DSM2_SUBTYPE_AUTO;
// The multi module wants the number of channels as options value and negative amount if the
// broken PRNG table is to be used.
if (optionValue==0)
optionValue = NUM_CHANNELS(EXTERNAL_MODULE);
else
optionValue = -(NUM_CHANNELS(EXTERNAL_MODULE));
// Multi module in DSM mode wants the number of channels to be used as option value
optionValue = NUM_CHANNELS(EXTERNAL_MODULE);
}