1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

optimizing

This commit is contained in:
cTn 2013-04-11 00:50:49 +02:00
parent 6e2afc6913
commit 137edb2b37
2 changed files with 2 additions and 4 deletions

View file

@ -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() {

View file

@ -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() {