소스 검색

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