WIP basic menu

This commit is contained in:
Dylan Smith
2026-01-14 11:30:04 -05:00
parent 6cdbe8cb11
commit 197a361ce8
8 changed files with 651 additions and 10 deletions

View File

@@ -19,7 +19,7 @@ typedef rgb565_pixel_t pixel_t;
#define PIXEL_BLUE(p) ((p) & 0x1F)
#define MAKE_PIXEL(r,g,b) \
(((r & 0x1F) << 11) | ((g & 0x3F) << 5) | (b & 0x1F))
((((r & 0xFF) >> 3) << 11) | (((g & 0xFF) >> 2) << 5) | ((b & 0xFF) >> 3))
#endif // PIXEL_FORMAT_565