Closed davetcc closed 4 years ago
The workaround for this is at the top of the library header file add
#ifndef _ADAFRUIT_GFX_1325_H
#define _ADAFRUIT_GFX_1325_H
Then at the end of the file add the following, making sure there is a newline after the endif.
#endif
If anyone has one of these displays and would be able to test a fix for me, then please comment here, then I can create a new, up to date pull request.
We've worked out a fix for this that should work for most cases. The plugins used to include the display driver twice - once in the menu project file and again in the renderer, now we only include it once. Will be in 1.6.0 of the plugins.
I just took a look over at the adagfx 1325 repo and there is already a pull request (adafruit/Adafruit_SSD1325_Library#1) to fix the include guard, but it's not been merged in some time, this PR is no longer viable because it is too far behind the current version.
Either: