From e4898be66171f772c81cbc7ed0e7594d6e64dd80 Mon Sep 17 00:00:00 2001 From: Federico Briata Date: Wed, 19 Sep 2018 23:46:13 +0200 Subject: [PATCH] Add SS, INT pins for Sanguino. Tested with USB Shield: DuinoFun UHS mini v2.0 (Aug. 16, 2014) --- UsbCore.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UsbCore.h b/UsbCore.h index 02397368..8574d29c 100644 --- a/UsbCore.h +++ b/UsbCore.h @@ -50,6 +50,8 @@ typedef MAX3421e MAX3421E; // The Intel Galileo supports much faster rea typedef MAX3421e MAX3421E; // ESP8266 boards #elif defined(ESP32) typedef MAX3421e MAX3421E; // ESP32 boards +#elif (defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284P__)) +typedef MAX3421e MAX3421E; // Sanguino #else typedef MAX3421e MAX3421E; // Official Arduinos (UNO, Duemilanove, Mega, 2560, Leonardo, Due etc.), Intel Edison, Intel Galileo 2 or Teensy 2.0 and 3.x #endif