packed_decoder.js: bugfix pressure divisor

This commit is contained in:
cyberman54 2019-07-28 19:12:05 +02:00
parent dcc7784456
commit 9ad6e62e84

View File

@ -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) {