mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
no need to reverse itter over here
This commit is contained in:
parent
3e969fe08a
commit
0607ccbff4
1 changed files with 1 additions and 2 deletions
|
@ -68,8 +68,7 @@ var MSP = {
|
||||||
packet_error: 0,
|
packet_error: 0,
|
||||||
|
|
||||||
callbacks_cleanup: function() {
|
callbacks_cleanup: function() {
|
||||||
for (var i = (this.callbacks.length - 1); i >= 0; i--) {
|
for (var i = 0; i < this.callbacks.length; i++) {
|
||||||
// kill timer
|
|
||||||
clearInterval(this.callbacks[i].timer);
|
clearInterval(this.callbacks[i].timer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue