From 5a424b5523ec36c872d795a13129891b181fe4d1 Mon Sep 17 00:00:00 2001 From: Kristian Lauszus Date: Sun, 9 Sep 2012 14:37:16 +0200 Subject: [PATCH] Toggle the ADK reset pin --- usbhost.h | 1 + 1 file changed, 1 insertion(+) diff --git a/usbhost.h b/usbhost.h index 910603b0..6efe9793 100644 --- a/usbhost.h +++ b/usbhost.h @@ -89,6 +89,7 @@ MAX3421e< SS, INTR >::MAX3421e() #ifdef BOARD_MEGA_ADK /* For Mega ADK, which has Max3421e on-board, set MAX_RESET to Output mode, and pull Reset to HIGH */ DDRJ |= _BV(PJ2); + PORTJ &= ~_BV(PJ2); PORTJ |= _BV(PJ2); #endif