File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -201,6 +201,7 @@ setup.initialize = function (callback) {
201
201
// new
202
202
msp_api_e = $ ( '.api-version' ) ,
203
203
build_info_e = $ ( '.build-info' ) ;
204
+ //build_def_e = $('.build-defines');
204
205
205
206
// DISARM FLAGS
206
207
// We add all the arming/disarming flags available, and show/hide them if needed.
@@ -301,13 +302,11 @@ setup.initialize = function (callback) {
301
302
// New
302
303
msp_api_e . text ( [ FC . CONFIG . apiVersion ] ) ;
303
304
build_info_e . text ( [ FC . CONFIG . buildInfo ] ) ;
304
-
305
+ /*
305
306
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]);
310
308
});
309
+ */
311
310
}
312
311
313
312
function get_fast_data ( ) {
You can’t perform that action at this time.
0 commit comments