mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2024-10-03 18:18:46 -04:00
Disable SPI DMA by default!
This commit is contained in:
parent
f01e289fb7
commit
25612a9f03
@ -15,7 +15,7 @@ before_install:
|
|||||||
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
|
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- arduino --install-library "Adafruit ILI9341" "Adafruit Zero DMA Library"
|
- arduino --install-library "Adafruit ILI9341"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- build_main_platforms
|
- build_main_platforms
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
#include "Adafruit_GFX.h"
|
#include "Adafruit_GFX.h"
|
||||||
|
|
||||||
#define USE_FAST_PINIO ///< If set, use PORT access instead of digitalWrite()
|
#define USE_FAST_PINIO ///< If set, use PORT access instead of digitalWrite()
|
||||||
#define USE_SPI_DMA ///< If set, use SPI DMA if available
|
//#define USE_SPI_DMA ///< If set, use SPI DMA if available
|
||||||
// If DMA is enabled, Arduino sketch MUST #include <Adafruit_ZeroDMA.h>
|
// If DMA is enabled, Arduino sketch MUST #include <Adafruit_ZeroDMA.h>
|
||||||
// Estimated RAM usage:
|
// Estimated RAM usage:
|
||||||
// 4 bytes/pixel on display major axis + 8 bytes/pixel on minor axis,
|
// 4 bytes/pixel on display major axis + 8 bytes/pixel on minor axis,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user