diff --git a/vendor/stmicroelectronics/nucleo-wl55jc-codec.yaml b/vendor/stmicroelectronics/nucleo-wl55jc-codec.yaml index 6469e3c277..667d5b571d 100644 --- a/vendor/stmicroelectronics/nucleo-wl55jc-codec.yaml +++ b/vendor/stmicroelectronics/nucleo-wl55jc-codec.yaml @@ -20,7 +20,7 @@ uplinkDecoder: value: 'ON' pressure: displayName: Barometric pressure - unit: Pa + unit: hPa value: 1000.0 temperature: displayName: Internal temperature diff --git a/vendor/stmicroelectronics/nucleo-wl55jc.js b/vendor/stmicroelectronics/nucleo-wl55jc.js index cf7a36cd33..f1fa0e8e9f 100644 --- a/vendor/stmicroelectronics/nucleo-wl55jc.js +++ b/vendor/stmicroelectronics/nucleo-wl55jc.js @@ -18,7 +18,7 @@ function decodeUplink(input) { }; data.pressure = { displayName: 'Barometric pressure', - unit: 'Pa', + unit: 'hPa', value: ((input.bytes[1] << 8) + input.bytes[2]) / 10 }; data.temperature = {