From 8547cc5c49d17924f4ee6e95c67908abbf65944e Mon Sep 17 00:00:00 2001 From: Oleg Mazurov Date: Sun, 17 Apr 2011 23:16:18 -0600 Subject: [PATCH] MAX3421E::Init() cleanup --- usbhost.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/usbhost.h b/usbhost.h index 46212f31..04cc1077 100644 --- a/usbhost.h +++ b/usbhost.h @@ -171,17 +171,7 @@ uint16_t MAX3421e< SS, INTR >::reset() } 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 */ template< typename SS, typename INTR > int8_t MAX3421e< SS, INTR >::Init()