瀏覽代碼

Fast path for bulk SPI transfers

jamesbowman 8 年之前
父節點
當前提交
09a862f75f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      transports/wiring.h

+ 1 - 1
transports/wiring.h

@@ -208,7 +208,7 @@ public:
       *dst++ = SPI.transfer(0);
     stream();
   }
-#ifdef ARDUINO_AVR_UNO
+#if defined(ARDUINO) && !defined(__DUE__)
   void wr_n(uint32_t addr, byte *src, uint16_t n)
   {
     __end(); // stop streaming