We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2b95fc3 + 01197a9 commit b5a26c7Copy full SHA for b5a26c7
1 file changed
shared-module/vectorio/Circle.c
@@ -23,7 +23,7 @@ void common_hal_vectorio_circle_set_on_dirty(vectorio_circle_t *self, vectorio_e
23
24
uint32_t common_hal_vectorio_circle_get_pixel(void *obj, int16_t x, int16_t y) {
25
vectorio_circle_t *self = obj;
26
- int16_t radius = abs(self->radius);
+ int16_t radius = self->radius;
27
x = abs(x);
28
y = abs(y);
29
if (x + y <= radius) {
0 commit comments