-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adagfxswap() renamed and localized to .cpp file to avoid collisions
- Loading branch information
1 parent
93dde8b
commit f5ec45e
Showing
3 changed files
with
14 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name=Adafruit GFX Library | ||
version=1.1.3 | ||
version=1.1.4 | ||
author=Adafruit | ||
maintainer=Adafruit <[email protected]> | ||
sentence=Adafruit GFX graphics core library, this is the 'core' class that all our other graphics libraries derive from. | ||
|
f5ec45e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This #define was being used in Adafruit_LED_Backpack (maybe others?). Moving it to .cpp file makes it unusable elsewhere.
Ref. this commit: adafruit/Adafruit_LED_Backpack@46873b2
f5ec45e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the heads-up, fixed in LEDbackpack now. There will probably be other GFX subclasses where this was overlooked, will update as we find them.
Too-generically-named macros in a class header was an oversight. Surprised this didn't bite us much sooner, really. Anyway, best course of action going forward is probably declaring an equivalent macro within any library .cpp that needs it, as done here. There'll be a transition period as we track them all down.