mirror of
https://github.com/felis/USB_Host_Shield_2.0.git
synced 2024-03-22 11:31:26 +01:00
Fixed ADK support
This commit is contained in:
parent
0899357deb
commit
147c011750
2 changed files with 3 additions and 3 deletions
|
@ -469,7 +469,7 @@ template<typename Tp_pin, typename Tc_bit>
|
|||
#define P51 Pb2
|
||||
#define P52 Pb1
|
||||
#define P53 Pb0
|
||||
#define P54 Pj2
|
||||
#define P54 Pe6 // INT on Arduino ADK
|
||||
|
||||
#endif //"Mega" pin numbers
|
||||
|
||||
|
|
|
@ -88,8 +88,8 @@ MAX3421e< SS, INTR >::MAX3421e()
|
|||
INTR::SetDirRead();
|
||||
#ifdef BOARD_MEGA_ADK
|
||||
/* For Mega ADK, which has Max3421e on-board, set MAX_RESET to Output mode, and pull Reset to HIGH */
|
||||
DDRJ |= 0x04;
|
||||
PORTJ |= 0x04;
|
||||
DDRJ |= _BV(PJ2);
|
||||
PORTJ |= _BV(PJ2);
|
||||
#endif
|
||||
|
||||
/* MAX3421E - full-duplex SPI, level interrupt */
|
||||
|
|
Loading…
Reference in a new issue