mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
fix method name mismatch in serial layer
This commit is contained in:
parent
ebff37ae3f
commit
21e414f4b3
2 changed files with 3 additions and 3 deletions
|
@ -115,7 +115,7 @@ var serial = {
|
|||
var self = this;
|
||||
|
||||
if (self.connectionId) {
|
||||
self.empty_outputBuffer();
|
||||
self.emptyOutputBuffer();
|
||||
|
||||
// remove listeners
|
||||
for (var i = (self.onReceive.listeners.length - 1); i >= 0; i--) {
|
||||
|
@ -249,7 +249,7 @@ var serial = {
|
|||
}
|
||||
}
|
||||
},
|
||||
empty_outputBuffer: function () {
|
||||
emptyOutputBuffer: function () {
|
||||
this.outputBuffer = [];
|
||||
this.transmitting = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue