From 2ed662962876891615e0d7e981c5da34e5ee8860 Mon Sep 17 00:00:00 2001 From: Oleg Mazurov Date: Wed, 22 Jun 2011 11:54:33 -0600 Subject: [PATCH] added MAX3421E reinit to busprobe() --- usbhost.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usbhost.h b/usbhost.h index 515eed02..e8210759 100644 --- a/usbhost.h +++ b/usbhost.h @@ -249,8 +249,9 @@ void MAX3421e< SS, INTR >::busprobe() vbusState = SE1; break; case( bmSE0 ): //disconnected state - vbusState = SE0; - break; + regWr( rMODE, bmDPPULLDN|bmDMPULLDN|bmHOST|bmSEPIRQ); + vbusState = SE0; + break; }//end switch( bus_sample ) } /* MAX3421 state change task and interrupt handler */