1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-23 20:18:52 +00:00

🐛 Fix STM32 USB disconnect behavior (#25762)

This commit is contained in:
Scott Mikutsky 2023-05-01 02:10:46 -04:00 committed by Scott Lahteine
parent b6c27fbbdb
commit a2040bae21

View File

@ -44,7 +44,7 @@ static void USBH_UserProcess(USBH_HandleTypeDef *phost, uint8_t id) {
break; break;
case HOST_USER_DISCONNECTION: case HOST_USER_DISCONNECTION:
//SERIAL_ECHOLNPGM("APPLICATION_DISCONNECT"); //SERIAL_ECHOLNPGM("APPLICATION_DISCONNECT");
//usb.setUsbTaskState(USB_STATE_RUNNING); usb.setUsbTaskState(USB_STATE_INIT);
break; break;
case HOST_USER_CLASS_ACTIVE: case HOST_USER_CLASS_ACTIVE:
//SERIAL_ECHOLNPGM("APPLICATION_READY"); //SERIAL_ECHOLNPGM("APPLICATION_READY");