From 6e360c273a14585ba2414d56dc212847287afa96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Boh=C3=A1=C4=8Dek?= Date: Tue, 15 Jun 2021 23:42:20 +0200 Subject: [PATCH] fix: put correct max color constants --- image-viewer/include/display_utils.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/image-viewer/include/display_utils.h b/image-viewer/include/display_utils.h index 30d7f00..4e6729b 100644 --- a/image-viewer/include/display_utils.h +++ b/image-viewer/include/display_utils.h @@ -3,9 +3,9 @@ #include -#define DISPLAY_MAX_RED 0x11111 -#define DISPLAY_MAX_GREEN 0x111111 -#define DISPLAY_MAX_BLUE 0x11111 +#define DISPLAY_MAX_RED 31u +#define DISPLAY_MAX_GREEN 63u +#define DISPLAY_MAX_BLUE 31u #define DISPLAY_WIDTH 480 #define DISPLAY_HEIGHT 320 -- 2.48.1