View difference between Paste ID: 4z5kqFgP and
SHOW: | | - or go back to the newest paste.
1-
1+
case SYS_USB_ATTACHED:
2
            //usb_connection_gui();
3
    usb_core_enable_driver(USB_DRIVER_MASS_STORAGE, false);
4
  //  usb_core_enable_driver(USB_DRIVER_CHARGING_ONLY, false);
5
    usb_core_enable_driver(USB_DRIVER_MTP, true); 
6
            break;