Home
last modified time | relevance | path

Searched refs:pxCurHeader (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.6.0/components/esp_ringbuf/
Dringbuf.c388 ItemHeader_t *pxCurHeader = (ItemHeader_t *)(pucItem - rbHEADER_SIZE); in prvSendItemDoneNoSplit() local
389 configASSERT(pxCurHeader->xItemLen <= pxRingbuffer->xMaxItemSize); in prvSendItemDoneNoSplit()
390 …configASSERT((pxCurHeader->uxItemFlags & rbITEM_DUMMY_DATA_FLAG) == 0); //Dummy items should never… in prvSendItemDoneNoSplit()
391 …configASSERT((pxCurHeader->uxItemFlags & rbITEM_WRITTEN_FLAG) == 0); //Indicates item has al… in prvSendItemDoneNoSplit()
392pxCurHeader->uxItemFlags &= ~rbITEM_SPLIT_FLAG; //Clear wrap flag if set (… in prvSendItemDoneNoSplit()
393 pxCurHeader->uxItemFlags |= rbITEM_WRITTEN_FLAG; //Mark as written in prvSendItemDoneNoSplit()
404 pxCurHeader = (ItemHeader_t *)pxRingbuffer->pucWrite; in prvSendItemDoneNoSplit()
406 …while (((pxCurHeader->uxItemFlags & rbITEM_WRITTEN_FLAG) || (pxCurHeader->uxItemFlags & rbITEM_DUM… in prvSendItemDoneNoSplit()
407 if (pxCurHeader->uxItemFlags & rbITEM_DUMMY_DATA_FLAG) { in prvSendItemDoneNoSplit()
408pxCurHeader->uxItemFlags |= rbITEM_WRITTEN_FLAG; //Mark as freed (not strictly necessary but add… in prvSendItemDoneNoSplit()
[all …]