/* Transport Layer Uninitialization. 
Free static memory previously allocated to the transport layer */
ADI_BLE_TRANSPORT_RESULT adi_tal_Uninit(void)
/* Transport Layer Uninitialization. 
Free static memory previously allocated to the transport layer */
ADI_BLE_TRANSPORT_RESULT adi_tal_Uninit(void)
{
    ADI_GPIO_RESULT eGpioResult;
    ADI_SPI_RESULT  eSpiResult;
    eSpiResult = adi_spi_Close(pTransportData->hDevice);
    RETURN_ERROR(eSpiResult, ADI_SPI_SUCCESS, ADI_BLE_TRANSPORT_FAILED_CLOSE);
    eGpioResult = adi_gpio_UnInit();
    RETURN_ERROR(eGpioResult, ADI_GPIO_SUCCESS, ADI_BLE_TRANSPORT_FAILED_GPIO);
    return (ADI_BLE_TRANSPORT_SUCCESS);
}