Skip to content

Commit 0ffab9d

Browse files
authored
feat(spi): Add return values to SPI begin
1 parent 2ff65fa commit 0ffab9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/SPI/src/SPI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class SPIClass {
6161
public:
6262
SPIClass(uint8_t spi_bus = HSPI);
6363
~SPIClass();
64-
void begin(int8_t sck = -1, int8_t miso = -1, int8_t mosi = -1, int8_t ss = -1);
64+
bool begin(int8_t sck = -1, int8_t miso = -1, int8_t mosi = -1, int8_t ss = -1);
6565
void end();
6666

6767
void setHwCs(bool use);

0 commit comments

Comments
 (0)