mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
remove useless code
This commit is contained in:
parent
7ca5e28bee
commit
578937fd2c
1 changed files with 0 additions and 1 deletions
|
@ -109,7 +109,6 @@ GUI_control.prototype.interval_kill_all = function(keep_array) {
|
||||||
|
|
||||||
if (!keep) {
|
if (!keep) {
|
||||||
clearInterval(this.interval_array[i].timer); // stop timer
|
clearInterval(this.interval_array[i].timer); // stop timer
|
||||||
this.interval_array[i].timer = undefined; // set timer property to undefined (mostly for debug purposes, but it doesn't hurt to have it here)
|
|
||||||
|
|
||||||
this.interval_array.splice(i, 1); // remove element/object from array
|
this.interval_array.splice(i, 1); // remove element/object from array
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue