Compare commits

...

4 Commits

Author SHA1 Message Date
Craig Leres
17926a7b65
Merge 9889a16f9b into 0e32d7dc76 2024-10-02 01:20:03 +05:30
Tyeth Gundry
0e32d7dc76
Update library.properties - bump version to 1.11.10
Some checks failed
Arduino Library CI / build (push) Has been cancelled
2024-07-23 15:16:47 +01:00
Zane Bauman
5080bec822
Allow using ATtiny84 (#455)
Some checks failed
Arduino Library CI / build (push) Has been cancelled
2024-07-18 10:16:19 -04:00
Craig Leres
9889a16f9b add missing newlines to a couple of error messages 2022-08-23 14:28:40 -07:00
6 changed files with 14 additions and 10 deletions

View File

@ -15,7 +15,8 @@
*
*/
#if !defined(__AVR_ATtiny85__) // Not for ATtiny, at all
// Not for ATtiny, at all
#if !defined(__AVR_ATtiny85__) && !defined(__AVR_ATtiny84__)
#include "Adafruit_GrayOLED.h"
#include <Adafruit_GFX.h>

View File

@ -24,7 +24,8 @@
#ifndef _Adafruit_GRAYOLED_H_
#define _Adafruit_GRAYOLED_H_
#if !defined(__AVR_ATtiny85__) // Not for ATtiny, at all
// Not for ATtiny, at all
#if !defined(__AVR_ATtiny85__) && !defined(__AVR_ATtiny84__)
#include <Adafruit_GFX.h>
#include <Adafruit_I2CDevice.h>
@ -96,5 +97,5 @@ private:
TwoWire *_theWire = NULL; ///< The underlying hardware I2C
};
#endif // end __AVR_ATtiny85__
#endif // end __AVR_ATtiny85__ __AVR_ATtiny84__
#endif // _Adafruit_GrayOLED_H_

View File

@ -31,7 +31,8 @@
* BSD license, all text here must be included in any redistribution.
*/
#if !defined(__AVR_ATtiny85__) // Not for ATtiny, at all
// Not for ATtiny, at all
#if !defined(__AVR_ATtiny85__) && !defined(__AVR_ATtiny84__)
#include "Adafruit_SPITFT.h"
@ -2558,4 +2559,4 @@ inline void Adafruit_SPITFT::TFT_RD_LOW(void) {
#endif // end !USE_FAST_PINIO
}
#endif // end __AVR_ATtiny85__
#endif // end __AVR_ATtiny85__ __AVR_ATtiny84__

View File

@ -20,7 +20,8 @@
#ifndef _ADAFRUIT_SPITFT_H_
#define _ADAFRUIT_SPITFT_H_
#if !defined(__AVR_ATtiny85__) // Not for ATtiny, at all
// Not for ATtiny, at all
#if !defined(__AVR_ATtiny85__) && !defined(__AVR_ATtiny84__)
#include "Adafruit_GFX.h"
#include <SPI.h>
@ -526,5 +527,5 @@ protected:
uint32_t _freq = 0; ///< Dummy var to keep subclasses happy
};
#endif // end __AVR_ATtiny85__
#endif // end __AVR_ATtiny85__ __AVR_ATtiny84__
#endif // end _ADAFRUIT_SPITFT_H_

View File

@ -118,7 +118,7 @@ int main(int argc, char *argv[]) {
// Init FreeType lib, load font
if ((err = FT_Init_FreeType(&library))) {
fprintf(stderr, "FreeType init error: %d", err);
fprintf(stderr, "FreeType init error: %d\n", err);
return err;
}
@ -131,7 +131,7 @@ int main(int argc, char *argv[]) {
&interpreter_version);
if ((err = FT_New_Face(library, argv[1], 0, &face))) {
fprintf(stderr, "Font load error: %d", err);
fprintf(stderr, "Font load error: %d\n", err);
FT_Done_FreeType(library);
return err;
}

View File

@ -1,5 +1,5 @@
name=Adafruit GFX Library
version=1.11.9
version=1.11.10
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.