Skip to content

Commit b6f7b3a

Browse files
committed
applied clang-format
1 parent c41e829 commit b6f7b3a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Adafruit_SPIDevice.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,8 @@ void Adafruit_SPIDevice::endTransaction(void) {
296296
* writes
297297
*/
298298
bool Adafruit_SPIDevice::write(const uint8_t *buffer, size_t len,
299-
const uint8_t *prefix_buffer, size_t prefix_len) {
299+
const uint8_t *prefix_buffer,
300+
size_t prefix_len) {
300301
if (_spi) {
301302
_spi->beginTransaction(*_spiSetting);
302303
}

Adafruit_SPIDevice.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ class Adafruit_SPIDevice {
7777

7878
bool begin(void);
7979
bool read(uint8_t *buffer, size_t len, uint8_t sendvalue = 0xFF);
80-
bool write(const uint8_t *buffer, size_t len, const uint8_t *prefix_buffer = NULL,
81-
size_t prefix_len = 0);
80+
bool write(const uint8_t *buffer, size_t len,
81+
const uint8_t *prefix_buffer = NULL, size_t prefix_len = 0);
8282
bool write_then_read(const uint8_t *write_buffer, size_t write_len,
8383
uint8_t *read_buffer, size_t read_len,
8484
uint8_t sendvalue = 0xFF);

0 commit comments

Comments
 (0)