This commit is contained in:
Bodmer 2023-12-06 13:51:53 +00:00
parent 6e644c3e63
commit aefcf5af63

View File

@ -2353,7 +2353,7 @@ void TFT_eSPI::drawCircleHelper( int32_t x0, int32_t y0, int32_t rr, uint8_t cor
//begin_tft_write(); // Sprite class can use this function, avoiding begin_tft_write()
inTransaction = true;
while (xe < rr--)
do
{
while (f < 0) {
++xe;
@ -2399,7 +2399,8 @@ void TFT_eSPI::drawCircleHelper( int32_t x0, int32_t y0, int32_t rr, uint8_t cor
}
}
xs = xe;
}
} while (xe < rr--);
inTransaction = lockTransaction;
end_tft_write(); // Does nothing if Sprite class uses this function
}