Toggle the ADK reset pin

This commit is contained in:
Kristian Lauszus 2012-09-09 14:37:16 +02:00
parent d09c7f7d31
commit 5a424b5523

View file

@ -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