mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-13 11:29:53 +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);
|
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'))
|
if (FC.isModeEnabled('ARM'))
|
||||||
$(".armedicon").css({
|
$(".armedicon").css({
|
||||||
'background-image': 'url("./images/icons/cf_icon_armed_active.svg")'
|
'background-image': 'url("./images/icons/cf_icon_armed_active.svg")'
|
||||||
|
|
|
@ -453,6 +453,11 @@ var SerialBackend = (function () {
|
||||||
$('.mode-disconnected').hide();
|
$('.mode-disconnected').hide();
|
||||||
$('.mode-connected').show();
|
$('.mode-connected').show();
|
||||||
|
|
||||||
|
|
||||||
|
MSP.send_message(MSPCodes.MSP_BOXIDS, false, false, function () {
|
||||||
|
FC.generateAuxConfig();
|
||||||
|
});
|
||||||
|
|
||||||
MSP.send_message(MSPCodes.MSP_DATAFLASH_SUMMARY, false, false, function () {
|
MSP.send_message(MSPCodes.MSP_DATAFLASH_SUMMARY, false, false, function () {
|
||||||
$('#sensor-status').show();
|
$('#sensor-status').show();
|
||||||
$('#portsinput').hide();
|
$('#portsinput').hide();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue