Merge pull request #525 from AugustQu/patch-10

plus code for SDS011
This commit is contained in:
Verkehrsrot 2020-01-21 21:27:41 +01:00 committed by GitHub
commit 210efbb0b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,10 @@ void SendPayload(uint8_t port, sendprio_t prio) {
MessageBuffer_t MessageBuffer_t
SendBuffer; // contains MessageSize, MessagePort, MessagePrio, Message[] SendBuffer; // contains MessageSize, MessagePort, MessagePrio, Message[]
#if (HAS_SDS011)
sds011_loop();
#endif
SendBuffer.MessageSize = payload.getSize(); SendBuffer.MessageSize = payload.getSize();
SendBuffer.MessagePrio = prio; SendBuffer.MessagePrio = prio;