diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 1261a53d1a..08e8541f2f 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -222,6 +222,9 @@ "initialSetupBatteryMahValue": { "message": "$1 mAh" }, + "initialSetupBatteryAValue": { + "message": "$1 A" + }, "initialSetupRSSI": { "message": "RSSI:" }, diff --git a/js/msp.js b/js/msp.js index ca58ea80ab..d6723f1411 100644 --- a/js/msp.js +++ b/js/msp.js @@ -241,7 +241,7 @@ MSP.process_data = function(code, message_buffer, message_length) { ANALOG.voltage = data.getUint8(0) / 10.0; ANALOG.mAhdrawn = data.getUint16(1, 1); ANALOG.rssi = data.getUint16(3, 1); // 0-1023 - ANALOG.amperage = data.getUint16(5, 1) * 1000; // convert from A to mA + ANALOG.amperage = data.getUint16(5, 1) / 100; // A break; case MSP_codes.MSP_RC_TUNING: RC_tuning.RC_RATE = parseFloat((data.getUint8(0) / 100).toFixed(2)); diff --git a/tabs/initial_setup.html b/tabs/initial_setup.html index 3bd1166f91..a38e6c2d73 100644 --- a/tabs/initial_setup.html +++ b/tabs/initial_setup.html @@ -77,7 +77,7 @@