From 01197a96d15141b35093daf1f844f685a60b2a4a Mon Sep 17 00:00:00 2001 From: foamyguy Date: Fri, 21 Apr 2023 16:54:46 -0500 Subject: [PATCH] remove abs() from radius --- shared-module/vectorio/Circle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared-module/vectorio/Circle.c b/shared-module/vectorio/Circle.c index ee83ad18b9..4f89e46163 100644 --- a/shared-module/vectorio/Circle.c +++ b/shared-module/vectorio/Circle.c @@ -23,7 +23,7 @@ void common_hal_vectorio_circle_set_on_dirty(vectorio_circle_t *self, vectorio_e uint32_t common_hal_vectorio_circle_get_pixel(void *obj, int16_t x, int16_t y) { vectorio_circle_t *self = obj; - int16_t radius = abs(self->radius); + int16_t radius = self->radius; x = abs(x); y = abs(y); if (x + y <= radius) {