mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
MAX3421E::Init() cleanup
This commit is contained in:
parent
00c82352e5
commit
8547cc5c49
1 changed files with 1 additions and 11 deletions
12
usbhost.h
12
usbhost.h
|
@ -171,17 +171,7 @@ uint16_t MAX3421e< SS, INTR >::reset()
|
||||||
}
|
}
|
||||||
return( i );
|
return( i );
|
||||||
}
|
}
|
||||||
///* initialize MAX3421E. Set Host mode, pullups, and stuff. Returns 0 if success, -1 if not */
|
|
||||||
//template< typename SS, typename INTR >
|
|
||||||
//int8_t MAX3421e< SS, INTR >::Init()
|
|
||||||
//{
|
|
||||||
// if( reset() == 0 ) { //OSCOKIRQ hasn't asserted in time
|
|
||||||
// return ( -1 );
|
|
||||||
// }
|
|
||||||
// regWr( rMODE, bmDPPULLDN|bmDMPULLDN|bmHOST ); // set pull-downs, Host
|
|
||||||
//
|
|
||||||
// return( 0 );
|
|
||||||
//}
|
|
||||||
/* initialize MAX3421E. Set Host mode, pullups, and stuff. Returns 0 if success, -1 if not */
|
/* initialize MAX3421E. Set Host mode, pullups, and stuff. Returns 0 if success, -1 if not */
|
||||||
template< typename SS, typename INTR >
|
template< typename SS, typename INTR >
|
||||||
int8_t MAX3421e< SS, INTR >::Init()
|
int8_t MAX3421e< SS, INTR >::Init()
|
||||||
|
|
Loading…
Reference in a new issue