mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +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,
|
||||
|
||||
callbacks_cleanup: function() {
|
||||
for (var i = (this.callbacks.length - 1); i >= 0; i--) {
|
||||
// kill timer
|
||||
for (var i = 0; i < this.callbacks.length; i++) {
|
||||
clearInterval(this.callbacks[i].timer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue