From a4c40b1b5db58d450540df7f381899222e426830 Mon Sep 17 00:00:00 2001 From: Stefan Brand Date: Sat, 13 Jun 2020 16:13:18 +0200 Subject: [PATCH] Typo Correction in Payload Function --- Firmware/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Firmware/README.md b/Firmware/README.md index 7a9939e..faf5ee7 100644 --- a/Firmware/README.md +++ b/Firmware/README.md @@ -27,7 +27,7 @@ function Decoder(bytes, port) { // Alarm Triggered (uint8_t) if (bytes.length == 2) - decoded.a = bytes(1); + decoded.a = bytes[1]; // Temperature (int32_t) if (bytes.length >= 5)