plus code for SDS011
This commit is contained in:
parent
04850fd5c7
commit
788ff354dc
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user