commit
210efbb0b9
@ -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;
|
||||||
|
|
||||||
@ -172,4 +176,4 @@ void flushQueues() {
|
|||||||
#ifdef HAS_SPI
|
#ifdef HAS_SPI
|
||||||
spi_queuereset();
|
spi_queuereset();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user