Remove debug lines to fix rendering part of #303

This commit is contained in:
Bodmer
2019-02-10 11:06:40 +00:00
committed by GitHub
parent b5a74a016a
commit 6a42e4b16d

View File

@@ -4598,12 +4598,10 @@ int16_t TFT_eSPI::drawString(const char *string, int32_t poX, int32_t poY, uint8
} }
else else
#endif #endif
Serial.print("sumX="); {
while (*string) { while (*string) sumX += drawChar(*(string++), poX+sumX, poY, font);
sumX += drawChar(*(string++), poX+sumX, poY, font); }
Serial.print(sumX);
}
Serial.println();
//vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv DEBUG vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv //vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv DEBUG vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
// Switch on debugging for the padding areas // Switch on debugging for the padding areas
//#define PADDING_DEBUG //#define PADDING_DEBUG