From 9ad6e62e84c7aed8e08af914167374a1c51b6115 Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Sun, 28 Jul 2019 19:12:05 +0200 Subject: [PATCH] packed_decoder.js: bugfix pressure divisor --- src/TTN/packed_decoder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TTN/packed_decoder.js b/src/TTN/packed_decoder.js index b5379f28..0999c07d 100644 --- a/src/TTN/packed_decoder.js +++ b/src/TTN/packed_decoder.js @@ -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) {