Explorar o código

Fast path for bulk SPI transfers

jamesbowman %!s(int64=8) %!d(string=hai) anos
pai
achega
09a862f75f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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