mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-17 05:15:25 +03:00
global serial statistics, remove obsolete code
This commit is contained in:
parent
c51e6eb2fb
commit
2402c1b49b
2 changed files with 3 additions and 16 deletions
|
@ -42,6 +42,8 @@ var serial = {
|
|||
console.log('SERIAL: Failed to close connection with ID: ' + self.connectionId + ' closed');
|
||||
}
|
||||
|
||||
console.log('SERIAL: Statistics - Sent: ' + self.bytes_sent + ' bytes, Received: ' + self.bytes_received + ' bytes');
|
||||
|
||||
self.connectionId = -1;
|
||||
|
||||
callback(result);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue