diff --git a/TFT_eSPI.cpp b/TFT_eSPI.cpp index 1df1c7e..46b240c 100644 --- a/TFT_eSPI.cpp +++ b/TFT_eSPI.cpp @@ -1908,8 +1908,8 @@ void TFT_eSPI::fillCircle(int32_t x0, int32_t y0, int32_t r, uint32_t color) while(x=0) { - drawFastHLine(x0 - x + 1, y0 + r, dx-1, color); - drawFastHLine(x0 - x + 1, y0 - r, dx-1, color); + drawFastHLine(x0 - x, y0 + r, dx, color); + drawFastHLine(x0 - x, y0 - r, dx, color); dy-=2; p-=dy; r--; @@ -1928,7 +1928,6 @@ void TFT_eSPI::fillCircle(int32_t x0, int32_t y0, int32_t r, uint32_t color) end_tft_write(); // Does nothing if Sprite class uses this function } - /*************************************************************************************** ** Function name: fillCircleHelper ** Description: Support function for fillRoundRect()