Skip to content

Commit c86caff

Browse files
committed
buildinfo test
1 parent 5af7522 commit c86caff

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/js/tabs/setup.js

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ setup.initialize = function (callback) {
201201
// new
202202
msp_api_e = $('.api-version'),
203203
build_info_e = $('.build-info');
204+
//build_def_e = $('.build-defines');
204205

205206
// DISARM FLAGS
206207
// We add all the arming/disarming flags available, and show/hide them if needed.
@@ -301,13 +302,11 @@ setup.initialize = function (callback) {
301302
// New
302303
msp_api_e.text([FC.CONFIG.apiVersion]);
303304
build_info_e.text([FC.CONFIG.buildInfo]);
304-
305+
/*
305306
MSP.send_message(MSPCodes.MSP2_GET_TEXT, false, false, function () {
306-
bat_voltage_e.text(i18n.getMessage('initialSetupBatteryValue', [FC.ANALOG.voltage]));
307-
bat_mah_drawn_e.text(i18n.getMessage('initialSetupBatteryMahValue', [FC.ANALOG.mAhdrawn]));
308-
bat_mah_drawing_e.text(i18n.getMessage('initialSetupBatteryAValue', [FC.ANALOG.amperage.toFixed(2)]));
309-
rssi_e.text(i18n.getMessage('initialSetupRSSIValue', [((FC.ANALOG.rssi / 1023) * 100).toFixed(0)]));
307+
build_def_e.text([FC.CONFIG.buildOptions]);
310308
});
309+
*/
311310
}
312311

313312
function get_fast_data() {

0 commit comments

Comments
 (0)