clang-format

This commit is contained in:
Ryan M. Lederman 2023-12-22 11:41:13 -07:00
parent c9d659cc82
commit 4aa3ec7854
No known key found for this signature in database
GPG Key ID: EB9599EEF6A767ED

View File

@ -1835,11 +1835,9 @@ void Adafruit_SPITFT::drawRGBBitmap(int16_t x, int16_t y, uint16_t *pcolors,
int16_t src_y, int16_t src_w) {
int16_t x2, y2; // Lower-right coord
if ((x >= _width) || // Off-edge right
(src_x >= src_w) ||
(y >= _height) || // " bottom
(src_x >= src_w) || (y >= _height) || // " bottom
((x2 = (x + w - 1)) < 0) || // " left
(src_x + src_w - 1 < 0) ||
((y2 = (y + h - 1)) < 0)) // " top
(src_x + src_w - 1 < 0) || ((y2 = (y + h - 1)) < 0)) // " top
return; // " bottom
if (x < 0) { // Clip left