Skip to content

Commit ad4b6b4

Browse files
authored
Fixing PlatformIO dependency problem (#389)
Fixing the PlatformIO dependency problem mentioned in; https://community.platformio.org/t/adafruit-gfx-lib-will-not-build-any-more-pio-5/15776/12
1 parent ef17614 commit ad4b6b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Adafruit_GFX.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
#endif
1010
#include "gfxfont.h"
1111

12+
#include <Adafruit_I2CDevice.h>
13+
#include <Adafruit_SPIDevice.h>
14+
1215
/// A generic graphics superclass that can handle all sorts of drawing. At a
1316
/// minimum you can subclass and provide drawPixel(). At a maximum you can do a
1417
/// ton of overriding to optimize. Used for any/all Adafruit displays!

0 commit comments

Comments
 (0)