KugleFirmware/Libraries/Periphirals/USBCDC/usbd_cdc_if.c
/**
  * @brief  DeInitializes the CDC media low layer
  * @retval USBD_OK if all operations are OK else USBD_FAIL
  */
@brief  DeInitializes the CDC media low layer
@retval USBD_OK if all operations are OK else USBD_FAIL
@brief DeInitializes the CDC media low layer @retval USBD_OK if all operations are OK else USBD_FAIL
static int8_t CDC_DeInit_FS(void)
{
  Connected = 0;
  portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE;
  if (USB_TX_FinishedSemaphore)
	  xSemaphoreGiveFromISR( USB_TX_FinishedSemaphore, &xHigherPriorityTaskWoken );
  portYIELD_FROM_ISR( xHigherPriorityTaskWoken );
  return (USBD_OK);
}
static int8_t CDC_DeInit_FS ( void ) { Connected = 0 ; portBASE_TYPE xHigherPriorityTaskWoken = pdFALSE ; if ( USB_TX_FinishedSemaphore ) xSemaphoreGiveFromISR ( USB_TX_FinishedSemaphore , & xHigherPriorityTaskWoken ) ; portYIELD_FROM_ISR ( xHigherPriorityTaskWoken ) ; return ( USBD_OK ) ; }
@brief  DeInitializes the CDC media low layer
 @retval USBD_OK if all operations are OK else USBD_FAIL
@brief DeInitializes the CDC media low layer @retval USBD_OK if all operations are OK else USBD_FAIL
/* USER CODE BEGIN 4 */ /* USER CODE END 4 */