From 3b065bb13a32884c0490de278e86289751011a64 Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Fri, 3 Apr 2020 17:03:05 +0200 Subject: [PATCH] Update payload.cpp --- src/payload.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/payload.cpp b/src/payload.cpp index 10c04ddc..8ab9f91c 100644 --- a/src/payload.cpp +++ b/src/payload.cpp @@ -346,6 +346,7 @@ void PayloadConvert::addSDS(sdsStatus_t sds) { buffer[cursor++] = highByte((uint16_t)(sds.pm25 * 10)); buffer[cursor++] = lowByte((uint16_t)(sds.pm25 * 10)); #endif // HAS_SDS011 +} void PayloadConvert::addCount(uint16_t value, uint8_t snifftype) { switch (snifftype) {