Added flag to packetusart (c) PostPacket to omit wait for crc scheduling

This commit is contained in:
Attila Body 2019-11-14 08:49:57 +01:00
parent 23a75f43c7
commit 3232fe1d30
3 changed files with 4 additions and 4 deletions

View file

@ -26,7 +26,7 @@ void InitUartStatus(
uint8_t* GetTxBuffer(USARTSTATUS *status);
uint8_t PostPacket(USARTSTATUS *status, uint8_t const *payload, uint16_t length, struct crcstatus_t *crcStatus);
uint8_t PostPacket(USARTSTATUS *status, uint8_t const *payload, uint16_t length, struct crcstatus_t *crcStatus, uint8_t waitForCrcQueue);
void SetupReceive(USARTSTATUS *status);
void SetupTransmit(USART_TypeDef *usart, DMA_TypeDef* dma, uint32_t stream, void *buffer, uint32_t length);
void ConsumePacket(USARTSTATUS *status, uint8_t packetIndex);