Add pullup to USB interrupt line

- A pullup on the INT pin is required when the pin is level-active
2.0.x
Marcio Teixeira 6 years ago committed by Scott Lahteine
parent a07ac6312f
commit 1a00d1bdaf

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

Loading…
Cancel
Save