mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-19 23:22:16 +03:00
parent
a2982f96a4
commit
c3cd83ba12
@ -515,9 +515,11 @@ void SPIClass::writePattern(const uint8_t * data, uint8_t size, uint32_t repeat)
|
||||
}
|
||||
}
|
||||
//End orig
|
||||
if (repeatRem) {
|
||||
setDataBits(repeatRem * 8);
|
||||
SPI1CMD |= SPIBUSY;
|
||||
while(SPI1CMD & SPIBUSY) {}
|
||||
}
|
||||
|
||||
SPI1U = SPIUMOSI | SPIUDUPLEX | SPIUSSE;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user