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:
parent
18a00dedf8
commit
9a5e3dbeae
7 changed files with 266 additions and 396 deletions
10
js/gui.js
10
js/gui.js
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue