Update payload.cpp
This commit is contained in:
parent
886587cacb
commit
3b065bb13a
@ -346,6 +346,7 @@ void PayloadConvert::addSDS(sdsStatus_t sds) {
|
|||||||
buffer[cursor++] = highByte((uint16_t)(sds.pm25 * 10));
|
buffer[cursor++] = highByte((uint16_t)(sds.pm25 * 10));
|
||||||
buffer[cursor++] = lowByte((uint16_t)(sds.pm25 * 10));
|
buffer[cursor++] = lowByte((uint16_t)(sds.pm25 * 10));
|
||||||
#endif // HAS_SDS011
|
#endif // HAS_SDS011
|
||||||
|
}
|
||||||
|
|
||||||
void PayloadConvert::addCount(uint16_t value, uint8_t snifftype) {
|
void PayloadConvert::addCount(uint16_t value, uint8_t snifftype) {
|
||||||
switch (snifftype) {
|
switch (snifftype) {
|
||||||
|
Loading…
Reference in New Issue
Block a user