mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-16 21:05:28 +03:00
Extract mspDeduplicationQueue to separate file
This commit is contained in:
parent
2156090a0d
commit
040b0cec52
6 changed files with 55 additions and 41 deletions
|
@ -18,6 +18,7 @@ const ProgrammingPid = require('./../programmingPid');
|
|||
const Safehome = require('./../safehome');
|
||||
const { FwApproach } = require('./../fwApproach');
|
||||
const Waypoint = require('./../waypoint');
|
||||
const mspDeduplicationQueue = require('./mspDeduplicationQueue');
|
||||
|
||||
var mspHelper = (function () {
|
||||
var self = {};
|
||||
|
@ -1622,7 +1623,7 @@ var mspHelper = (function () {
|
|||
}
|
||||
|
||||
//remove message from queue as received
|
||||
mspQueue.removeMessage(dataHandler.code);
|
||||
mspDeduplicationQueue.remove(dataHandler.code);
|
||||
|
||||
// remove object from array
|
||||
dataHandler.callbacks.splice(i, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue