Update payload.cpp

This commit is contained in:
Verkehrsrot 2020-04-03 17:03:05 +02:00 committed by GitHub
parent 886587cacb
commit 3b065bb13a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {