mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 11:29:53 +03:00
Status updated changes
This commit is contained in:
parent
6b5440f437
commit
20e36b9b65
4 changed files with 1 additions and 18 deletions
|
@ -313,14 +313,6 @@ var mspQueue = function () {
|
|||
|
||||
};
|
||||
|
||||
publicScope.shouldDrop = function () {
|
||||
return (Math.round(Math.random()*100) < privateScope.dropRatio);
|
||||
};
|
||||
|
||||
publicScope.shouldDropStatus = function () {
|
||||
return (Math.round(Math.random()*100) < (privateScope.dropRatio * privateScope.statusDropFactor));
|
||||
};
|
||||
|
||||
/**
|
||||
* This method return periodic for polling interval that should populate queue in 80% or less
|
||||
* @param {number} requestedInterval
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue