Skip to content

Commit da51961

Browse files
Change as suggested
Co-Authored-By: per1234 <accounts@perglass.com>
1 parent a8f55cf commit da51961

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ArduinoGraphics.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ void ArduinoGraphics::circle(int x, int y, int radius)
227227
int x2 = x1 + radius;
228228

229229
for (x = x1; x <= x2; x++) {
230-
y2 = (int) y1 + sqrt((radius*radius)-(x*x)) ;
230+
int y2 = (int) y1 + sqrt((radius*radius)-(x*x)) ;
231231
for (y = y1; y <= y2; y++) {
232232
if ((y == y2) && _stroke) {
233233
// stroke

0 commit comments

Comments
 (0)