Skip to content

Commit

Permalink
buildinfo test
Browse files Browse the repository at this point in the history
  • Loading branch information
HThuren committed Mar 9, 2023
1 parent 5af7522 commit c86caff
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/js/tabs/setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,7 @@ setup.initialize = function (callback) {
// new
msp_api_e = $('.api-version'),
build_info_e = $('.build-info');
//build_def_e = $('.build-defines');

// DISARM FLAGS
// We add all the arming/disarming flags available, and show/hide them if needed.
Expand Down Expand Up @@ -301,13 +302,11 @@ setup.initialize = function (callback) {
// New
msp_api_e.text([FC.CONFIG.apiVersion]);
build_info_e.text([FC.CONFIG.buildInfo]);

/*
MSP.send_message(MSPCodes.MSP2_GET_TEXT, false, false, function () {
bat_voltage_e.text(i18n.getMessage('initialSetupBatteryValue', [FC.ANALOG.voltage]));
bat_mah_drawn_e.text(i18n.getMessage('initialSetupBatteryMahValue', [FC.ANALOG.mAhdrawn]));
bat_mah_drawing_e.text(i18n.getMessage('initialSetupBatteryAValue', [FC.ANALOG.amperage.toFixed(2)]));
rssi_e.text(i18n.getMessage('initialSetupRSSIValue', [((FC.ANALOG.rssi / 1023) * 100).toFixed(0)]));
build_def_e.text([FC.CONFIG.buildOptions]);
});
*/
}

function get_fast_data() {
Expand Down

0 comments on commit c86caff

Please sign in to comment.