Sfoglia il codice sorgente

Add SPI_ATOMIC_VERSION symbol

main
PaulStoffregen 10 anni fa
parent
commit
e3f07329a5
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      SPI.h

+ 1
- 0
SPI.h Vedi File

@@ -18,6 +18,7 @@
// SPI_HAS_TRANSACTION means SPI has beginTransaction(), endTransaction(),
// usingInterrupt(), and SPISetting(clock, bitOrder, dataMode)
#define SPI_HAS_TRANSACTION 1
#define SPI_ATOMIC_VERSION 1

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

Loading…
Annulla
Salva