From 1a00d1bdaf870fab1bfaca2aeaac78a9ad806bad Mon Sep 17 00:00:00 2001 From: Marcio Teixeira Date: Tue, 23 Oct 2018 14:12:42 -0600 Subject: [PATCH] Add pullup to USB interrupt line - A pullup on the INT pin is required when the pin is level-active --- Marlin/src/sd/usb_flashdrive/usb_host.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/src/sd/usb_flashdrive/usb_host.cpp b/Marlin/src/sd/usb_flashdrive/usb_host.cpp index 75a2dc7bba..71155b82ac 100644 --- a/Marlin/src/sd/usb_flashdrive/usb_host.cpp +++ b/Marlin/src/sd/usb_flashdrive/usb_host.cpp @@ -109,8 +109,8 @@ bool MAX3421e::reset() { bool MAX3421e::start() { // Initialize pins and SPI bus - SET_OUTPUT(SDSS); - SET_INPUT(USB_INTR_PIN); + SET_OUTPUT(USB_CS_PIN); + SET_INPUT_PULLUP(USB_INTR_PIN); ncs(); spiBegin();