summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/target/firmware/fb/fb_rgb332.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/firmware/fb/fb_rgb332.c b/src/target/firmware/fb/fb_rgb332.c
index 9955d16c..72ed87b8 100644
--- a/src/target/firmware/fb/fb_rgb332.c
+++ b/src/target/firmware/fb/fb_rgb332.c
@@ -90,7 +90,7 @@ fb_rgb332_update_damage(
static uint8_t rgb_to_pixel(uint32_t color){
uint8_t ret;
ret = (FB_COLOR_TO_R(color) & 0xe0); /* 765 = RRR */
- ret |= (FB_COLOR_TO_G(color) & 0xe0) >> 2; /* 432 = GGG */
+ ret |= (FB_COLOR_TO_G(color) & 0xe0) >> 3; /* 432 = GGG */
ret |= (FB_COLOR_TO_B(color) & 0xc0) >> 6; /* 10 = BB */
return ret;
}