diff options
| author | Pablo MartÃnez | 2025-10-08 04:10:38 +0200 |
|---|---|---|
| committer | GitHub | 2025-10-08 04:10:38 +0200 |
| commit | 0550830909e854d2ac0203905c861a868e82b289 (patch) | |
| tree | 67e5a1ce8e82d1be81f1ee89f175856e1c149aff /quantum/painter/qp_draw_ellipse.c | |
| parent | 8f86f9794e13b6a2078f07d01ca7529d54dd676e (diff) | |
[QP] Minor cleanup and support for RGB888 surface (#25706)
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'quantum/painter/qp_draw_ellipse.c')
| -rw-r--r-- | quantum/painter/qp_draw_ellipse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/quantum/painter/qp_draw_ellipse.c b/quantum/painter/qp_draw_ellipse.c index 9e77bca8b0..22f019d179 100644 --- a/quantum/painter/qp_draw_ellipse.c +++ b/quantum/painter/qp_draw_ellipse.c @@ -75,7 +75,7 @@ bool qp_ellipse(painter_device_t device, uint16_t x, uint16_t y, uint16_t sizex, int16_t dx = 0; int16_t dy = ((int16_t)sizey); - qp_internal_fill_pixdata(device, QP_MAX(sizex, sizey), hue, sat, val); + qp_internal_fill_pixdata(device, MAX(sizex, sizey), hue, sat, val); if (!qp_comms_start(device)) { qp_dprintf("qp_ellipse: fail (could not start comms)\n"); |