src/STM32_USB-FS-Device_Lib/Project/Audio_Streaming/src/hw_config.c
/*******************************************************************************
* Function Name  : Leave_LowPowerMode
* Description    : Restores system clocks and power while exiting suspend mode
* Input          : None.
* Return         : None.
*******************************************************************************/
Function Name  : Leave_LowPowerMode
Description    : Restores system clocks and power while exiting suspend mode
Input          : None.
Return         : None.
Function Name : Leave_LowPowerMode Description : Restores system clocks and power while exiting suspend mode Input : None . Return : None .
void Leave_LowPowerMode(void)
{
  DEVICE_INFO *pInfo = &Device_Info;
  if (pInfo->Current_Configuration != 0)
  {
    bDeviceState = CONFIGURED;
  }
  else
  {
    bDeviceState = ATTACHED;
  }
}
void Leave_LowPowerMode ( void ) { DEVICE_INFO * pInfo = & Device_Info ; if ( pInfo -> Current_Configuration != 0 ) { bDeviceState = CONFIGURED ; } else { bDeviceState = ATTACHED ; } }
Function Name  : Leave_LowPowerMode
Description    : Restores system clocks and power while exiting suspend mode
Input          : None.
Function Name : Leave_LowPowerMode Description : Restores system clocks and power while exiting suspend mode Input : None .
/* Set the device state to the correct state */ /* Device configured */