mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 03:19:54 +03:00
More...
This commit is contained in:
parent
a32e0f018b
commit
6567aaf439
2 changed files with 5 additions and 6 deletions
|
@ -40,12 +40,6 @@ const mspQueue = require('./serial_queue');
|
|||
|
||||
var active = ((Date.now() - MSP.analog_last_received_timestamp) < publicScope.getUpdateInterval(CONFIGURATOR.connection.bitrate) * 3);
|
||||
|
||||
if (FC.AUX_CONFIG.length == 0) {
|
||||
MSP.send_message(MSPCodes.MSP_BOXIDS, false, false, function () {
|
||||
FC.generateAuxConfig();
|
||||
});
|
||||
}
|
||||
|
||||
if (FC.isModeEnabled('ARM'))
|
||||
$(".armedicon").css({
|
||||
'background-image': 'url("./images/icons/cf_icon_armed_active.svg")'
|
||||
|
|
|
@ -453,6 +453,11 @@ var SerialBackend = (function () {
|
|||
$('.mode-disconnected').hide();
|
||||
$('.mode-connected').show();
|
||||
|
||||
|
||||
MSP.send_message(MSPCodes.MSP_BOXIDS, false, false, function () {
|
||||
FC.generateAuxConfig();
|
||||
});
|
||||
|
||||
MSP.send_message(MSPCodes.MSP_DATAFLASH_SUMMARY, false, false, function () {
|
||||
$('#sensor-status').show();
|
||||
$('#portsinput').hide();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue