Skip to content

Commit 458c192

Browse files
aentingergiulcioffi
authored andcommitted
Removing confusing defines due to their potential to overwrite the SPIMode enum values defined in HardwareSPI.h
1 parent 28f9517 commit 458c192

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

libraries/SPI/SPI.h

-5
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@
3333
// SPI_HAS_NOTUSINGINTERRUPT means that SPI has notUsingInterrupt() method
3434
#define SPI_HAS_NOTUSINGINTERRUPT 1
3535

36-
#define SPI_MODE0 0x02
37-
#define SPI_MODE1 0x00
38-
#define SPI_MODE2 0x03
39-
#define SPI_MODE3 0x01
40-
4136
#if defined(ARDUINO_ARCH_SAMD)
4237
// The datasheet specifies a typical SPI SCK period (tSCK) of 42 ns,
4338
// see "Table 36-48. SPI Timing Characteristics and Requirements",

0 commit comments

Comments
 (0)