Allow GFX code to compile on WICED w/o SPIClass

This commit is contained in:
Phillip Burgess 2018-11-09 15:15:01 -08:00
parent 0521944f9f
commit 33158b3986
2 changed files with 6 additions and 8 deletions

View File

@ -32,21 +32,19 @@
*
*/
#ifndef __AVR_ATtiny85__ // NOT A CHANCE of this stuff working on ATtiny!
// NOT A CHANCE of this stuff working on ATtiny, No SPIClass on WICED (yet?)
#if (!defined(__AVR_ATtiny85__) && !defined(ARDUINO_STM32_FEATHER))
#include "Adafruit_SPITFT.h"
#ifndef ARDUINO_STM32_FEATHER
#include "pins_arduino.h"
#include "pins_arduino.h"
#ifndef RASPI
#include "wiring_private.h"
#endif
#include "wiring_private.h"
#endif
#include <limits.h>
#include "Adafruit_SPITFT_Macros.h"
/**************************************************************************/
/*!
@brief Pass 8-bit (each) R,G,B, get back 16-bit packed color
@ -571,4 +569,4 @@ void Adafruit_SPITFT::drawRGBBitmap(int16_t x, int16_t y,
endWrite();
}
#endif // !__AVR_ATtiny85__
#endif // !__AVR_ATtiny85__ && !ARDUINO_STM32_FEATHER

View File

@ -1,5 +1,5 @@
name=Adafruit GFX Library
version=1.3.1
version=1.3.2
author=Adafruit
maintainer=Adafruit <info@adafruit.com>
sentence=Adafruit GFX graphics core library, this is the 'core' class that all our other graphics libraries derive from.