Skip to content

Commit 47246c9

Browse files
committed
fix(spi): MISO/MOSI inverted
introduced with #2549 Signed-off-by: Frederic Pillon <[email protected]>
1 parent f05c640 commit 47246c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: libraries/SPI/src/SPI.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class SPISettings {
8484

8585
class SPIClass {
8686
public:
87-
SPIClass(uint32_t mosi = MISO, uint32_t miso = MOSI, uint32_t sclk = SCK, uint32_t ssel = PNUM_NOT_DEFINED);
87+
SPIClass(uint32_t mosi = MOSI, uint32_t miso = MISO, uint32_t sclk = SCK, uint32_t ssel = PNUM_NOT_DEFINED);
8888

8989
// setMISO/MOSI/SCLK/SSEL have to be called before begin()
9090
void setMISO(uint32_t miso)

0 commit comments

Comments
 (0)