1
0
Fork 0
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:
cTn 2014-01-27 21:14:49 +01:00
parent c51e6eb2fb
commit 2402c1b49b
2 changed files with 3 additions and 16 deletions

View file

@ -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);