Skip to content

Commit

Permalink
Allow using ATtiny84
Browse files Browse the repository at this point in the history
This library also works with an ATtiny84, but only checking for ATtiny85 restricts its usage.
  • Loading branch information
zbauman3 authored Jul 18, 2024
1 parent 126007f commit f1303be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Adafruit_SPITFT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
* BSD license, all text here must be included in any redistribution.
*/

#if !defined(__AVR_ATtiny85__) // Not for ATtiny, at all
#if !defined(__AVR_ATtiny85__) && \
!defined(__AVR_ATtiny84__) // Not for ATtiny, at all

#include "Adafruit_SPITFT.h"

Expand Down

0 comments on commit f1303be

Please sign in to comment.