mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
optimizing
This commit is contained in:
parent
6e2afc6913
commit
137edb2b37
2 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,6 @@
|
||||||
function tab_initialize_motor_outputs() {
|
function tab_initialize_motor_outputs() {
|
||||||
// enable Motor data pulling
|
// enable Motor data pulling
|
||||||
motor_poll = setInterval(motorPoll, 50);
|
timers.push(setInterval(motorPoll, 50));
|
||||||
timers.push(motor_poll);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function motorPoll() {
|
function motorPoll() {
|
||||||
|
|
|
@ -46,8 +46,7 @@ function tab_initialize_receiver() {
|
||||||
};
|
};
|
||||||
|
|
||||||
// enable RC data pulling
|
// enable RC data pulling
|
||||||
receiver_poll = setInterval(receiverPoll, 50);
|
timers.push(setInterval(receiverPoll, 50));
|
||||||
timers.push(receiver_poll);
|
|
||||||
|
|
||||||
// UI Hooks
|
// UI Hooks
|
||||||
$('.tunings input').change(function() {
|
$('.tunings input').change(function() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue