Skip to content

Commit 8578198

Browse files
ci(pre-commit): Apply automatic fixes
1 parent b8cb1bb commit 8578198

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

cores/esp32/esp32-hal-spi.c

-2
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,6 @@ bool spiDetachMOSI(spi_t *spi) {
357357
return true;
358358
}
359359

360-
361-
362360
bool spiAttachSS(spi_t *spi, uint8_t ss_num, int8_t ss) {
363361
if (!spi || ss < 0 || ss_num > 2) {
364362
return false;

libraries/SPI/src/SPI.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class SPIClass {
6363
~SPIClass();
6464
void begin(int8_t sck = -1, int8_t miso = -1, int8_t mosi = -1, int8_t ss = -1);
6565
void end();
66-
66+
6767
void setHwCs(bool use);
6868
void setSSInvert(bool invert); //use before setHwCS for change to be used by setHwCs
6969
void setBitOrder(uint8_t bitOrder);

0 commit comments

Comments
 (0)