Browse Source

Add SPI_ATOMIC_VERSION symbol

main
PaulStoffregen 10 years ago
parent
commit
e3f07329a5
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      SPI.h

+ 1
- 0
SPI.h View File

// SPI_HAS_TRANSACTION means SPI has beginTransaction(), endTransaction(), // SPI_HAS_TRANSACTION means SPI has beginTransaction(), endTransaction(),
// usingInterrupt(), and SPISetting(clock, bitOrder, dataMode) // usingInterrupt(), and SPISetting(clock, bitOrder, dataMode)
#define SPI_HAS_TRANSACTION 1 #define SPI_HAS_TRANSACTION 1
#define SPI_ATOMIC_VERSION 1


// Uncomment this line to add detection of mismatched begin/end transactions. // Uncomment this line to add detection of mismatched begin/end transactions.
// A mismatch occurs if other libraries fail to use SPI.endTransaction() for // A mismatch occurs if other libraries fail to use SPI.endTransaction() for

Loading…
Cancel
Save