diff --git a/usbhost.h b/usbhost.h index e5cd4188..172742e5 100644 --- a/usbhost.h +++ b/usbhost.h @@ -44,6 +44,7 @@ public: SPI_SS::SetDirWrite(); SPI_SS::Set(); SPI.begin(); + SPI.setClockDivider(BOARD_SPI_DEFAULT_SS, 4); // Set speed to 84MHz/4=21MHz - the MAX3421E can handle up to 26MHz } #else static void init() {