Skip to content

Commit 5efa09d

Browse files
Comment formatting.
1 parent 67bd6e7 commit 5efa09d

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

Adafruit_SPIDevice.cpp

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -311,13 +311,13 @@ bool Adafruit_SPIDevice::write(uint8_t *buffer, size_t len,
311311
}
312312
} else
313313
#elif defined(ARDUINO_ARCH_SAMD) && defined(_ADAFRUIT_ZERODMA_H_)
314-
// The variant of transfer() used below currently only exists in the Adafruit core.
315-
// It causes a build failure when building against the main Arduino SAMD core.
316-
// Unfortunately there doesn't seem to be a supported #define that this code
317-
// can use to tell which core it's building against. This hack
318-
// (checking for the include guard that gets defined when the Adafruit core's
319-
// SPI.h includes Adafruit_ZeroDMA.h) works for now, but it should be improved
320-
// when possible.
314+
// The variant of transfer() used below currently only exists in the Adafruit
315+
// core. It causes a build failure when building against the main Arduino SAMD
316+
// core. Unfortunately there doesn't seem to be a supported #define that this
317+
// code can use to tell which core it's building against. This hack (checking
318+
// for the include guard that gets defined when the Adafruit core's SPI.h
319+
// includes Adafruit_ZeroDMA.h) works for now, but it should be improved when
320+
// possible.
321321
if (_spi) {
322322
if (prefix_len > 0) {
323323
_spi->transfer(prefix_buffer, nullptr, prefix_len);
@@ -431,13 +431,13 @@ bool Adafruit_SPIDevice::write_then_read(uint8_t *write_buffer,
431431
}
432432
} else
433433
#elif defined(ARDUINO_ARCH_SAMD) && defined(_ADAFRUIT_ZERODMA_H_)
434-
// The variant of transfer() used below currently only exists in the Adafruit core.
435-
// It causes a build failure when building against the main Arduino SAMD core.
436-
// Unfortunately there doesn't seem to be a supported #define that this code
437-
// can use to tell which core it's building against. This hack
438-
// (checking for the include guard that gets defined when the Adafruit core's
439-
// SPI.h includes Adafruit_ZeroDMA.h) works for now, but it should be improved
440-
// when possible.
434+
// The variant of transfer() used below currently only exists in the Adafruit
435+
// core. It causes a build failure when building against the main Arduino SAMD
436+
// core. Unfortunately there doesn't seem to be a supported #define that this
437+
// code can use to tell which core it's building against. This hack (checking
438+
// for the include guard that gets defined when the Adafruit core's SPI.h
439+
// includes Adafruit_ZeroDMA.h) works for now, but it should be improved when
440+
// possible.
441441
if (_spi) {
442442
if (write_len > 0) {
443443
_spi->transfer(write_buffer, nullptr, write_len);

0 commit comments

Comments
 (0)