1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-23 16:25:19 +03:00

msp cleanup

This commit is contained in:
Pawel Spychalski (DzikuVx) 2016-11-23 20:00:04 +01:00
parent 18a00dedf8
commit 9a5e3dbeae
7 changed files with 266 additions and 396 deletions

View file

@ -345,5 +345,15 @@ GUI_control.prototype.content_ready = function (callback) {
if (callback) callback();
};
GUI_control.prototype.updateStatusBar = function() {
$('span.i2c-error').text(CONFIG.i2cError);
$('span.cycle-time').text(CONFIG.cycleTime);
$('span.cpu-load').text(chrome.i18n.getMessage('statusbar_cpu_load', [CONFIG.cpuload]));
};
GUI_control.prototype.updateProfileChange = function() {
$('#profilechange').val(CONFIG.profile);
};
// initialize object into GUI variable
var GUI = new GUI_control();