Skip to content

Commit 247465a

Browse files
matthias-bsterrillmoore
authored andcommitted
fixed humidity datatype
1 parent ad13709 commit 247465a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/arduino_lorawan_esp32_example/ttn_decoder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function ttn_decoder_fp(bytes) {
172172
// see assignment to 'bitmap' variable for status bit names
173173
return decode(
174174
bytes,
175-
[bitmap, temperature, humidity, uint16, uint16 ], // types
175+
[bitmap, temperature, uint8, uint16, uint16 ], // types
176176
['status', 'air_temp_c', 'humidity', 'supply_v', 'battery_v' ] // JSON elements
177177
);
178178

0 commit comments

Comments
 (0)