/* This function reads (empties) the reception data buffer when a LIN response had been received. This function is additional of the lin_rx_response() function.  */
static void lin_get_response(uint8_t uc_node, uint8_t *p_data)
/* This function reads (empties) the reception data buffer when a LIN response had been received. This function is additional of the lin_rx_response() function.  */
static void lin_get_response(uint8_t uc_node, uint8_t *p_data)
{
	uint8_t i, uc_len;
	uc_len = usart_lin_get_data_length(usart_lin_node[uc_node]);
	for (i = 0; i < uc_len; i++) {
		(*p_data++) = lin_rx_buffer_node[uc_node][i];
	}
}