1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-24 08:45:26 +03:00

Run message deduplication based on full roundtrip, not only input queue

This commit is contained in:
Pawel Spychalski (DzikuVx) 2024-04-26 12:38:28 +02:00
parent 93bb0eba4f
commit 2156090a0d
5 changed files with 47 additions and 11 deletions

View file

@ -239,6 +239,7 @@ var SerialBackend = (function () {
mspQueue.flush();
mspQueue.freeHardLock();
mspQueue.freeSoftLock();
mspQueue.flushMessages();
CONFIGURATOR.connection.disconnect(privateScope.onClosed);
MSP.disconnect_cleanup();
@ -376,6 +377,7 @@ var SerialBackend = (function () {
mspQueue.flush();
mspQueue.freeHardLock();
mspQueue.freeSoftLock();
mspQueue.flushMessages();
CONFIGURATOR.connection.emptyOutputBuffer();
$('div.connect_controls a').click(); // disconnect