From 7f7914836500674e15dfb97fcb3156d8a7e321b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olaf=20L=C3=BCke?= Date: Wed, 9 Apr 2014 20:33:47 +0200 Subject: [PATCH] emove "Suspend to Disk fix", seems to make problems on some windows versions --- com/usb/usb.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/com/usb/usb.c b/com/usb/usb.c index c2d9100..788330e 100644 --- a/com/usb/usb.c +++ b/com/usb/usb.c @@ -118,7 +118,9 @@ inline uint16_t usb_send(const void *data, const uint16_t length, uint32_t *opti // We sometimes come to this state if the PC/laptop is on suspend to disk. // In that case it seems that the USB is in LOCKED state forever. // So we are cautionary and cancel all IO. - USBD_HAL_CancelIo(0xFFFF); + + // TODO: Fixme: Seems to make problems on some Windows versions! + //USBD_HAL_CancelIo(0xFFFF); return 0; } }