Skip to content

Commit

Permalink
packed_decoder.js: bugfix pressure divisor
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberman54 committed Jul 28, 2019
1 parent dcc7784 commit 9ad6e62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TTN/packed_decoder.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function Decoder(bytes, port) {

if (port === 7) {
// BME680 sensor data
return decode(bytes, [float, uint16, ufloat, ufloat], ['temperature', 'pressure', 'humidity', 'air']);
return decode(bytes, [float, pressure, ufloat, ufloat], ['temperature', 'pressure', 'humidity', 'air']);
}

if (port === 8) {
Expand Down

0 comments on commit 9ad6e62

Please sign in to comment.