mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-23 16:25:19 +03:00
Run message deduplication based on full roundtrip, not only input queue
This commit is contained in:
parent
93bb0eba4f
commit
2156090a0d
5 changed files with 47 additions and 11 deletions
|
@ -1621,6 +1621,9 @@ var mspHelper = (function () {
|
|||
mspQueue.putHardwareRoundtrip(new Date().getTime() - dataHandler.callbacks[i].sentOn);
|
||||
}
|
||||
|
||||
//remove message from queue as received
|
||||
mspQueue.removeMessage(dataHandler.code);
|
||||
|
||||
// remove object from array
|
||||
dataHandler.callbacks.splice(i, 1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue