mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 04:15:28 +03:00
traffic tracking inside serial backend
This commit is contained in:
parent
b0c4b1cf1b
commit
c98bdd9f54
3 changed files with 16 additions and 20 deletions
|
@ -569,11 +569,6 @@ STM32_protocol.prototype.upload_procedure = function(step) {
|
|||
case 99:
|
||||
// disconnect
|
||||
|
||||
// remove listeners
|
||||
serial.onReceive.listeners_.forEach(function(listener) {
|
||||
serial.onReceive.removeListener(listener.callback);
|
||||
});
|
||||
|
||||
GUI.interval_remove('STM32_timeout'); // stop STM32 timeout timer (everything is finished now)
|
||||
|
||||
console.log('Transfered: ' + self.serial_bytes_send + ' bytes, Received: ' + self.serial_bytes_received + ' bytes');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue