Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #2 from konkers/dev

turn on pulldowns in disconnected state
  • Loading branch information...
commit 66256dc7cf9f4195120d7fcc5c07211f7b15aafe 2 parents 60d7e60 + 1645cc7
Oleg Mazurov authored May 17, 2011

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. 3  Max3421e.cpp
3  Max3421e.cpp
@@ -194,6 +194,7 @@ void MAX3421E::busprobe( void )
194 194
             vbusState = SE1;
195 195
             break;
196 196
         case( bmSE0 ):              //disconnected state
  197
+            regWr( rMODE, bmDPPULLDN|bmDMPULLDN|bmHOST|bmSEPIRQ);
197 198
             vbusState = SE0;
198 199
             break;
199 200
         }//end switch( bus_sample )
@@ -267,4 +268,4 @@ byte MAX3421E::GpxHandler()
267 268
 //{
268 269
 //    
269 270
 //
270  
-//}
  271
+//}

0 notes on commit 66256dc

Please sign in to comment.
Something went wrong with that request. Please try again.