summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/as3525/usb-drv-as3525v2.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/usb-drv-as3525v2.c b/firmware/target/arm/as3525/usb-drv-as3525v2.c
index c18c579456..2ea90f9e94 100644
--- a/firmware/target/arm/as3525/usb-drv-as3525v2.c
+++ b/firmware/target/arm/as3525/usb-drv-as3525v2.c
@@ -158,6 +158,9 @@ static void as3525v2_connect(void)
static void as3525v2_disconnect(void)
{
+ /* Disconnect */
+ DCTL |= DCTL_sftdiscon;
+ usb_delay();
/* Disable clock */
CGU_USB = 0;
usb_delay();