correct fix for attiny

This commit is contained in:
lady ada 2020-05-17 12:29:30 -04:00
parent 709437a01b
commit 4c95a95e81
2 changed files with 6 additions and 1 deletions

View File

@ -15,6 +15,8 @@
*
*/
#if !defined(__AVR_ATtiny85__) // Not for ATtiny, at all
#include "Adafruit_MonoOLED.h"
#include <Adafruit_GFX.h>
@ -396,3 +398,6 @@ void Adafruit_MonoOLED::setContrast(uint8_t level) {
uint8_t cmd[] = {MONOOLED_SETCONTRAST, level};
oled_commandList(cmd, 2);
}
#endif /* ATTIN85 not supported */

View File

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