Permalink
Browse files

Merge pull request #2 from konkers/dev

turn on pulldowns in disconnected state
  • Loading branch information...
2 parents 60d7e60 + 1645cc7 commit 66256dc7cf9f4195120d7fcc5c07211f7b15aafe @felis committed May 17, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 Max3421e.cpp
View
@@ -194,6 +194,7 @@ void MAX3421E::busprobe( void )
vbusState = SE1;
break;
case( bmSE0 ): //disconnected state
+ regWr( rMODE, bmDPPULLDN|bmDMPULLDN|bmHOST|bmSEPIRQ);
vbusState = SE0;
break;
}//end switch( bus_sample )
@@ -267,4 +268,4 @@ byte MAX3421E::GpxHandler()
//{
//
//
-//}
+//}

0 comments on commit 66256dc

Please sign in to comment.