浏览代码

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

正在加载...
取消
保存