Open Rytikar opened 6 years ago
Hi!
Compiling with both Arduino Ide or Visual Studio I get:
Documents\Arduino\libraries\TFT_ILI9341-master/TFT_ILI9341.h:71:16: error: macro "swap" requires 3 arguments, but only 2 given
swap(T& a, T& b) { T t = a; a = b; b = t; }
What can be the problem?
It could be a clash with another instance of swap()
Try changing the TFT_ILI9341.h file to:
// Swap any type template static inline void swap_coord(T& a, T& b) { T t = a; a = b; b = t; }
Hi!
Compiling with both Arduino Ide or Visual Studio I get:
Documents\Arduino\libraries\TFT_ILI9341-master/TFT_ILI9341.h:71:16: error: macro "swap" requires 3 arguments, but only 2 given
swap(T& a, T& b) { T t = a; a = b; b = t; }
What can be the problem?