XarkLabs / PDQ_GFX_Libs

Optimized fork of Adafruit's GFX library (and drivers) for Arduino (AVR).
114 stars 37 forks source link

Fixing swap() calls, multi-file warning #8

Closed Yona-Appletree closed 7 years ago

Yona-Appletree commented 7 years ago

This pull request replaces calls to the non-existent swap() function with calls to swapValue(), defined in PDQ_GFX.h.

Additionally, it includes a warning in the README for a common pitfall: trying to use this library from multiple CPP files in a project.