packed_decoder.js: bugfix pressure divisor
This commit is contained in:
parent
dcc7784456
commit
9ad6e62e84
@ -57,7 +57,7 @@ function Decoder(bytes, port) {
|
|||||||
|
|
||||||
if (port === 7) {
|
if (port === 7) {
|
||||||
// BME680 sensor data
|
// 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) {
|
if (port === 8) {
|
||||||
|
Loading…
Reference in New Issue
Block a user