mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 12:25:13 +03:00
add function name (listeners readability/clarity)
This commit is contained in:
parent
d2a7b4559b
commit
c51e6eb2fb
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ var serial = {
|
||||||
self.bytes_received = 0;
|
self.bytes_received = 0;
|
||||||
self.bytes_sent = 0;
|
self.bytes_sent = 0;
|
||||||
|
|
||||||
self.onReceive.addListener(function(info) {
|
self.onReceive.addListener(function log_bytes_received(info) {
|
||||||
self.bytes_received += info.data.byteLength;
|
self.bytes_received += info.data.byteLength;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue