Adafruit_TouchScreen icon indicating copy to clipboard operation
Adafruit_TouchScreen copied to clipboard

Code comment

Open rafaelcorsi opened this issue 4 years ago • 2 comments

https://github.com/adafruit/Adafruit_TouchScreen/blob/4f845058265afb23c6f29967130d6486920ff5d7/TouchScreen.cpp#L38

should be:

  • @brief Check if the current point is equivalent to another point

as the function compares two points:

bool TSPoint::operator==(TSPoint p1) {
  return ((p1.x == x) && (p1.y == y) && (p1.z == z));
}

rafaelcorsi avatar Feb 10 '21 00:02 rafaelcorsi