Formatting fixes
This commit is contained in:
parent
2fce4a24f2
commit
b8da0bd043
|
|
@ -112,6 +112,7 @@ bool Adafruit_SPIDevice::begin(void) {
|
||||||
void Adafruit_SPIDevice::transfer(uint8_t *buffer, size_t len) {
|
void Adafruit_SPIDevice::transfer(uint8_t *buffer, size_t len) {
|
||||||
if (_spi) {
|
if (_spi) {
|
||||||
// hardware SPI is easy
|
// hardware SPI is easy
|
||||||
|
|
||||||
#ifdef SPARK
|
#ifdef SPARK
|
||||||
// Spark uses asynchronous DMA for multi-byte transfers;
|
// Spark uses asynchronous DMA for multi-byte transfers;
|
||||||
// just use the single-byte method for sync transfers.
|
// just use the single-byte method for sync transfers.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue