diff --git a/usbhost.h b/usbhost.h index 172742e5..cf26c1f0 100644 --- a/usbhost.h +++ b/usbhost.h @@ -44,7 +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 + SPI.setClockDivider(4); // Set speed to 84MHz/4=21MHz - the MAX3421E can handle up to 26MHz } #else static void init() {