mirror of
https://github.com/opentx/opentx.git
synced 2025-07-13 03:19:53 +03:00
Fix multi default period
This commit is contained in:
parent
f6c4da918a
commit
b05cdc108b
1 changed files with 1 additions and 1 deletions
|
@ -499,7 +499,7 @@ static uint8_t counter;
|
|||
const uint16_t MultiModuleSyncStatus::getAdjustedRefreshRate()
|
||||
{
|
||||
if (!isValid() || refreshRate == 0)
|
||||
return 18000;
|
||||
return MULTIMODULE_PERIOD * 2000;
|
||||
|
||||
counter = (uint8_t) (counter + 1 % 10);
|
||||
uint16_t rate = (uint16_t) ((adjustedRefreshRate + counter * 50) / 500);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue