Font is displayed correctly

This commit is contained in:
Stanislav N Mikhailov
2025-01-01 18:07:19 +03:00
parent 7b87f90ae8
commit 3cdfa81da8
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
#include "DrawBezier.h"
// Установка пикселя в буфере (с проверкой границ)
void set_pixel(int x, int y, uint16_t color) {
void set_pixel(uint16_t x, uint16_t y, uint16_t color) {
if (x >= 0 && x < WIDTH && y >= 0 && y < HEIGHT) {
frame_buffer[y * WIDTH + x] = color;
}