mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 09:45:21 +03:00
use default multimodule period when the protocol does not send any sync packets
This commit is contained in:
parent
c27991dec7
commit
00c775e37f
1 changed files with 3 additions and 0 deletions
|
@ -283,6 +283,9 @@ void setupPulsesExternalModule(uint8_t protocol)
|
|||
ModuleSyncStatus& status = getModuleSyncStatus(EXTERNAL_MODULE);
|
||||
if (status.isValid())
|
||||
mixerSchedulerSetPeriod(EXTERNAL_MODULE, status.getAdjustedRefreshRate());
|
||||
else
|
||||
mixerSchedulerSetPeriod(EXTERNAL_MODULE, MULTIMODULE_PERIOD);
|
||||
|
||||
setupPulsesMultiExternalModule();
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue