1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 17:55:19 +03:00

Multiprotocol broken - Fixes #6633

This commit is contained in:
Bertrand Songis 2019-08-18 10:51:16 +02:00
parent 57245c0eda
commit f1890bde27
No known key found for this signature in database
GPG key ID: F189F79290FEC50F
3 changed files with 4 additions and 4 deletions

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) {