mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
added MAX3421E reinit to busprobe()
This commit is contained in:
parent
b94ed5d103
commit
2ed6629628
1 changed files with 3 additions and 2 deletions
|
@ -249,8 +249,9 @@ void MAX3421e< SS, INTR >::busprobe()
|
||||||
vbusState = SE1;
|
vbusState = SE1;
|
||||||
break;
|
break;
|
||||||
case( bmSE0 ): //disconnected state
|
case( bmSE0 ): //disconnected state
|
||||||
vbusState = SE0;
|
regWr( rMODE, bmDPPULLDN|bmDMPULLDN|bmHOST|bmSEPIRQ);
|
||||||
break;
|
vbusState = SE0;
|
||||||
|
break;
|
||||||
}//end switch( bus_sample )
|
}//end switch( bus_sample )
|
||||||
}
|
}
|
||||||
/* MAX3421 state change task and interrupt handler */
|
/* MAX3421 state change task and interrupt handler */
|
||||||
|
|
Loading…
Reference in a new issue