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 fail10.3.x-maintenance
parent
45e34c2433
commit
9218984885
|
@ -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_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));
|
||||
|
|
Loading…
Reference in New Issue