PaulStoffregen / ILI9341_t3

Optimized ILI9341 TFT Library
http://pjrc.com/store/display_ili9341.html
242 stars 95 forks source link

move the #define of swap from header to cpp file #63

Closed KurtE closed 4 years ago

KurtE commented 4 years ago

There have been reports of programs not compiling as they may include some other header file that defines swap in conflict with the one here.

And as this one is not used in the header but only in the .cpp file and none of the examples use, it. It feels safe to simply move it to .cpp file.

graphictest.ino builds fine with this change

Note this is in answer to issue #62