aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/KINETIS/FRDM-KL26Z/USB_SERIAL/usbcfg.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/KINETIS/FRDM-KL26Z/USB_SERIAL/usbcfg.c')
-rw-r--r--testhal/KINETIS/FRDM-KL26Z/USB_SERIAL/usbcfg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testhal/KINETIS/FRDM-KL26Z/USB_SERIAL/usbcfg.c b/testhal/KINETIS/FRDM-KL26Z/USB_SERIAL/usbcfg.c
index 3093640..fa5b4f4 100644
--- a/testhal/KINETIS/FRDM-KL26Z/USB_SERIAL/usbcfg.c
+++ b/testhal/KINETIS/FRDM-KL26Z/USB_SERIAL/usbcfg.c
@@ -284,7 +284,7 @@ static void usb_event(USBDriver *usbp, usbevent_t event) {
chSysLockFromISR();
/* Disconnection event on suspend.*/
- sduDisconnectI(&SDU1);
+ sduSuspendHookI(&SDU1);
chSysUnlockFromISR();
return;