Browse Source

Fast path for bulk SPI transfers

jamesbowman 8 years ago
parent
commit
09a862f75f
1 changed files with 1 additions and 1 deletions
  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