/* Initializes an element of the data buffer queue.  */
static void data_queue_element_init(uint8_t element_index)
/* Initializes an element of the data buffer queue.  */
static void data_queue_element_init(uint8_t element_index)
{
    DATA_QUEUE_ELEMENT_INIT(element_index);
    DATA_QUEUE_ELEMENT_SET_PTYPE(element_index, INVALID_PACKET);
    DATA_QUEUE_ELEMENT_COPY_PDATA(element_index, NULL);
    DATA_QUEUE_ELEMENT_SET_PLEN(element_index, 0);
}