Skip to content

Commit

Permalink
[fix] vendor/st/nucleo-wl55jc: unit of barometric pressure should be …
Browse files Browse the repository at this point in the history
…in hPa (#847)

Co-authored-by: Jaime Trinidad <[email protected]>
  • Loading branch information
timonburkard and Jaime-Trinidad authored Nov 20, 2024
1 parent f1a61a1 commit 05a9e85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion vendor/stmicroelectronics/nucleo-wl55jc-codec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ uplinkDecoder:
value: 'ON'
pressure:
displayName: Barometric pressure
unit: Pa
unit: hPa
value: 1000.0
temperature:
displayName: Internal temperature
Expand Down
2 changes: 1 addition & 1 deletion vendor/stmicroelectronics/nucleo-wl55jc.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 05a9e85

Please sign in to comment.