mirror of
https://github.com/stasenso/rp_pico_test.git
synced 2026-06-26 21:42:44 +03:00
Font is displayed correctly
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user