1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 09:45:21 +03:00

Handle more module combination

This commit is contained in:
3djc 2020-12-22 10:07:37 +01:00
parent f3ffdbff0a
commit d712a17f62
2 changed files with 13 additions and 3 deletions

View file

@ -174,7 +174,14 @@ TASK_FUNCTION(mixerTask)
doMixerCalculations();
// TODO: fix runMask
sendSynchronousPulses((1 << INTERNAL_MODULE) | (1 << EXTERNAL_MODULE));
uint8_t runMask = 0;
#if defined(INTERNAL_MODULE)
runMask != (1 << INTERNAL_MODULE)
#endif
#if defined(EXTERNAL_MODULE)
runMask != (1 << EXTERNAL_MODULE)
#endif
sendSynchronousPulses(runMask);
doMixerPeriodicUpdates();