mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Toggle the ADK reset pin
This commit is contained in:
parent
d09c7f7d31
commit
5a424b5523
1 changed files with 1 additions and 0 deletions
|
@ -89,6 +89,7 @@ MAX3421e< SS, INTR >::MAX3421e()
|
||||||
#ifdef BOARD_MEGA_ADK
|
#ifdef BOARD_MEGA_ADK
|
||||||
/* For Mega ADK, which has Max3421e on-board, set MAX_RESET to Output mode, and pull Reset to HIGH */
|
/* For Mega ADK, which has Max3421e on-board, set MAX_RESET to Output mode, and pull Reset to HIGH */
|
||||||
DDRJ |= _BV(PJ2);
|
DDRJ |= _BV(PJ2);
|
||||||
|
PORTJ &= ~_BV(PJ2);
|
||||||
PORTJ |= _BV(PJ2);
|
PORTJ |= _BV(PJ2);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue