mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +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() {
|
||||
// enable Motor data pulling
|
||||
motor_poll = setInterval(motorPoll, 50);
|
||||
timers.push(motor_poll);
|
||||
timers.push(setInterval(motorPoll, 50));
|
||||
}
|
||||
|
||||
function motorPoll() {
|
||||
|
|
|
@ -46,8 +46,7 @@ function tab_initialize_receiver() {
|
|||
};
|
||||
|
||||
// enable RC data pulling
|
||||
receiver_poll = setInterval(receiverPoll, 50);
|
||||
timers.push(receiver_poll);
|
||||
timers.push(setInterval(receiverPoll, 50));
|
||||
|
||||
// UI Hooks
|
||||
$('.tunings input').change(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue