We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4fee1cc commit aa8e01aCopy full SHA for aa8e01a
libraries/Adafruit_DotStar/Adafruit_DotStar.cpp
@@ -105,7 +105,7 @@ void Adafruit_DotStar::hw_spi_init(void) { // Initialize hardware SPI
105
DDRB |= _BV(PORTB1) | _BV(PORTB2); // DO (NOT MOSI) + SCK
106
#else
107
SPI.begin();
108
- #if defined(__AVR__) || defined(CORE_TEENSY)
+ #if defined(__AVR__) || defined(CORE_TEENSY) || defined(__ARDUINO_ARC__)
109
SPI.setClockDivider(SPI_CLOCK_DIV2); // 8 MHz (6 MHz on Pro Trinket 3V)
110
111
SPI.setClockDivider((F_CPU + 4000000L) / 8000000L); // 8-ish MHz on Due
0 commit comments