1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-13 03:19:54 +03:00
This commit is contained in:
Scavanger 2024-11-20 01:15:05 -03:00
parent a32e0f018b
commit 6567aaf439
2 changed files with 5 additions and 6 deletions

View file

@ -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")'

View file

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