mirror of
https://github.com/adafruit/Adafruit-GFX-Library.git
synced 2024-10-03 18:18:46 -04:00
Allow GFX code to compile on WICED w/o SPIClass
This commit is contained in:
parent
0521944f9f
commit
33158b3986
@ -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
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user