diff --git a/js/serial_backend.js b/js/serial_backend.js index 3ce66b4e25..19072cb0fb 100644 --- a/js/serial_backend.js +++ b/js/serial_backend.js @@ -503,7 +503,7 @@ function process_message(code, data) { SENSOR_DATA.kinematicsZ = view.getInt16(4, 1); break; case MSP_codes.MSP_ALTITUDE: - SENSOR_DATA.altitude = view.getUint32(0, 1) / 100.0; // correct scale factor + SENSOR_DATA.altitude = parseFloat((view.getInt32(0, 1) / 100.0).toFixed(2)); // correct scale factor break; case MSP_codes.MSP_BAT: BATTERY.voltage = view.getUint8(0) / 10.0; diff --git a/tabs/auxiliary_configuration.html b/tabs/auxiliary_configuration.html index 148c16af23..7747d24ab8 100644 --- a/tabs/auxiliary_configuration.html +++ b/tabs/auxiliary_configuration.html @@ -24,5 +24,5 @@ HIGH - Update + Save \ No newline at end of file diff --git a/tabs/initial_setup.html b/tabs/initial_setup.html index 0e7ed8d1d9..cf2082754c 100644 --- a/tabs/initial_setup.html +++ b/tabs/initial_setup.html @@ -77,7 +77,7 @@
Pitch:
Roll:
- Update + Save
diff --git a/tabs/pid_tuning.html b/tabs/pid_tuning.html index 2b928d14c0..7e36e37c7f 100644 --- a/tabs/pid_tuning.html +++ b/tabs/pid_tuning.html @@ -70,5 +70,5 @@ - Update + Save
\ No newline at end of file diff --git a/tabs/receiver.html b/tabs/receiver.html index ef4c02d162..c4366804da 100644 --- a/tabs/receiver.html +++ b/tabs/receiver.html @@ -62,7 +62,7 @@ - Update + Save

some info text goes here diff --git a/tabs/sensors.js b/tabs/sensors.js index 3a4e2345dc..05ba2365cc 100644 --- a/tabs/sensors.js +++ b/tabs/sensors.js @@ -104,7 +104,7 @@ function tab_initialize_sensors() { } baro_options = { - title: "Barometer (meters above sea level)", + title: "Barometer (meters)", shadowSize: 0, yaxis : { tickDecimals: 1,