From faedb4feab3c76d7c169eb3cd01d23a1725b53a3 Mon Sep 17 00:00:00 2001 From: Andrew St Clair Date: Wed, 5 Jul 2023 05:58:52 +0000 Subject: [PATCH] Remove old commented code --- tools/make_world_map_db.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/make_world_map_db.py b/tools/make_world_map_db.py index c2bb82a..2a6824e 100644 --- a/tools/make_world_map_db.py +++ b/tools/make_world_map_db.py @@ -21,15 +21,9 @@ for y in range(0, im.size[1]): LINE = b'' for x in range(0, im.size[0]): - # RRRRRGGGGGGBBBBB pixel_lcd = (pix[x, y][0] >> 3) << 11 pixel_lcd |= (pix[x, y][1] >> 2) << 5 pixel_lcd |= (pix[x, y][2] >> 3) - # RRRGGGBB to - # RRR00GGG000BB000 - # pixel_lcd = (pix[x, y][0] >> 5) << 5 - # pixel_lcd |= (pix[x, y][1] >> 5) << 2 - # pixel_lcd |= (pix[x, y][2] >> 6) LINE += struct.pack('