diff --git a/DDS75-LB/DDS75-LB_ChirpstackV4_Decoder.txt b/DDS75-LB/DDS75-LB_ChirpstackV4_Decoder.txt index 65465e7..962b0d7 100644 --- a/DDS75-LB/DDS75-LB_ChirpstackV4_Decoder.txt +++ b/DDS75-LB/DDS75-LB_ChirpstackV4_Decoder.txt @@ -51,7 +51,7 @@ function getMyDate(str){ } function Decode(fPort, bytes, variables) { - if (port == 0x02) { + if (fPort == 0x02) { // Check the 5th bit of the first byte if (bytes[0] & 0x10) { // 0x10 is binary 00010000, which corresponds to the 5th bit // Only parse batV and additional distance data