瀏覽代碼

Add SPI_ATOMIC_VERSION symbol

main
PaulStoffregen 10 年之前
父節點
當前提交
e3f07329a5
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      SPI.h

+ 1
- 0
SPI.h 查看文件

@@ -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…
取消
儲存