USB Device Connection and Disconnection
STM32F4 is working in USB Device MSC mode successfully.I need to detect the USB connection state. I put the HAL_PCD_ConnectCallback function in main.c but on compiling I received warning.Debug/../USB_DEVICE/Target/usbd_conf.c:307: multiple definition...