Multiprotocol broken - Fixes #6633

This commit is contained in:
Bertrand Songis
2019-08-18 10:51:16 +02:00
parent 57245c0eda
commit f1890bde27
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ void setupPulsesMultimodule()
// Every 1000 cycles (=9s) send a config packet that configures the multimodule (inversion, telemetry type)
counter++;
if (counter % 1000== 500) {
if (counter % 1000 == 500) {
sendSetupFrame();
}
else if (counter % 1000 == 0 && g_model.moduleData[EXTERNAL_MODULE].failsafeMode != FAILSAFE_NOT_SET && g_model.moduleData[EXTERNAL_MODULE].failsafeMode != FAILSAFE_RECEIVER) {