diff --git a/Adafruit_SPITFT.cpp b/Adafruit_SPITFT.cpp index d866bc3..3a1d544 100644 --- a/Adafruit_SPITFT.cpp +++ b/Adafruit_SPITFT.cpp @@ -662,6 +662,16 @@ void Adafruit_SPITFT::initSPI(uint32_t freq) { } else if(*(SERCOM **)hwspi._spi == &sercom5) { dmac_id = SERCOM5_DMAC_ID_TX; data_reg = &SERCOM5->SPI.DATA.reg; +#endif +#if defined SERCOM6 + } else if(*(SERCOM **)hwspi._spi == &sercom6) { + dmac_id = SERCOM6_DMAC_ID_TX; + data_reg = &SERCOM6->SPI.DATA.reg; +#endif +#if defined SERCOM7 + } else if(*(SERCOM **)hwspi._spi == &sercom7) { + dmac_id = SERCOM7_DMAC_ID_TX; + data_reg = &SERCOM7->SPI.DATA.reg; #endif } dma.setPriority(DMA_PRIORITY_3); diff --git a/library.properties b/library.properties index e4d76df..43296c0 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=Adafruit GFX Library -version=1.4.9 +version=1.4.10 author=Adafruit maintainer=Adafruit sentence=Adafruit GFX graphics core library, this is the 'core' class that all our other graphics libraries derive from.