Browse Source

Add pullup to USB interrupt line

- A pullup on the INT pin is required when the pin is level-active
Marcio Teixeira 6 years ago
parent
commit
1a00d1bdaf
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/src/sd/usb_flashdrive/usb_host.cpp

+ 2
- 2
Marlin/src/sd/usb_flashdrive/usb_host.cpp View File

@@ -109,8 +109,8 @@ bool MAX3421e::reset() {
109 109
 bool MAX3421e::start() {
110 110
   // Initialize pins and SPI bus
111 111
 
112
-  SET_OUTPUT(SDSS);
113
-  SET_INPUT(USB_INTR_PIN);
112
+  SET_OUTPUT(USB_CS_PIN);
113
+  SET_INPUT_PULLUP(USB_INTR_PIN);
114 114
   ncs();
115 115
   spiBegin();
116 116
 

Loading…
Cancel
Save