change the command queue in receiver tab (bugfix)

as MSP_RC is being called in auxiliary tab it could trigger the callback
added inside the receiver initialization sequence, making the
initialization fail
10.3.x-maintenance
cTn 2014-02-22 22:54:06 +01:00
parent 45e34c2433
commit 9218984885
1 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,8 @@ function tab_initialize_receiver() {
ga_tracker.sendAppView('Receiver Page');
GUI.active_tab = 'receiver';
send_message(MSP_codes.MSP_RC, MSP_codes.MSP_RC, false, function() {
send_message(MSP_codes.MSP_RC_TUNING, MSP_codes.MSP_RC_TUNING, false, function() {
send_message(MSP_codes.MSP_RC, MSP_codes.MSP_RC, false, function() {
$('#content').load("./tabs/receiver.html", function() {
// fill in data from RC_tuning
$('.tunings .throttle input[name="mid"]').val(RC_tuning.throttle_MID.toFixed(2));