Skip to content

Commit fe6266e

Browse files
Bump version #, enable DMA by default on PyPortal
1 parent 1bd0463 commit fe6266e

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Adafruit_SPITFT.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,12 @@ typedef volatile PORT_t* PORTreg_t; ///< PORT register type
6666
#define DEFAULT_SPI_FREQ 16000000L ///< Hardware SPI default speed
6767
#endif
6868

69-
//#define USE_SPI_DMA ///< If set, use SPI DMA if available
70-
// Another "oops" name -- in the future parallel DMA will also be handled.
69+
#if defined(ADAFRUIT_PYPORTAL)
70+
#define USE_SPI_DMA ///< Auto DMA if using PyPortal
71+
#else
72+
//#define USE_SPI_DMA ///< If set, use DMA if available
73+
#endif
74+
// Another "oops" name -- this now also handles parallel DMA.
7175
// If DMA is enabled, Arduino sketch MUST #include <Adafruit_ZeroDMA.h>
7276
// Estimated RAM usage:
7377
// 4 bytes/pixel on display major axis + 8 bytes/pixel on minor axis,

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=Adafruit GFX Library
2-
version=1.4.4
2+
version=1.4.5
33
author=Adafruit
44
maintainer=Adafruit <[email protected]>
55
sentence=Adafruit GFX graphics core library, this is the 'core' class that all our other graphics libraries derive from.

0 commit comments

Comments
 (0)