Skip to content

Commit 7d514e6

Browse files
Add SPI_HAS_TRANSACTION symbol for Arduino Due
1 parent eca6db9 commit 7d514e6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/SPI/SPI.h

+4
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
#include "variant.h"
1616
#include <stdio.h>
1717

18+
// SPI_HAS_TRANSACTION means SPI has beginTransaction(), endTransaction(),
19+
// usingInterrupt(), and SPISetting(clock, bitOrder, dataMode)
20+
#define SPI_HAS_TRANSACTION 1
21+
1822
#define SPI_MODE0 0x02
1923
#define SPI_MODE1 0x00
2024
#define SPI_MODE2 0x03

0 commit comments

Comments
 (0)