Skip to content

Commit

Permalink
Update factory logo to introduce colours
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
  • Loading branch information
daniel-thompson committed Nov 11, 2020
1 parent 107eeab commit 7b0905b
Showing 1 changed file with 59 additions and 58 deletions.
117 changes: 59 additions & 58 deletions src/blit.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,73 +14,74 @@

#ifdef CONFIG_HAVE_SPINOR

// 2-bit RLE, generated from res/pine64_small.png, 757 bytes
// 2-bit RLE, generated from res/pine64_small.png, 767 bytes
static const uint8_t logo[] = {
0x2, 0xf0, 0xf0, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0xc2, 0x3f, 0xae, 0xc4,
0x3f, 0xac, 0xc6, 0x3f, 0xaa, 0xc8, 0x3f, 0xa8, 0xca, 0x3f, 0xa6, 0xcc,
0x3f, 0xa4, 0xce, 0x3f, 0xa2, 0xd0, 0x3f, 0xa0, 0xd2, 0x3f, 0x9e, 0xd4,
0x3f, 0x9c, 0xd6, 0x3f, 0x9a, 0xd8, 0x3f, 0x99, 0xd8, 0x3f, 0x9b, 0xd4,
0x3f, 0x91, 0xc2, 0xc, 0xd0, 0xc, 0xc2, 0x3f, 0x84, 0xc5, 0xc, 0xcc,
0xc, 0xc5, 0x3f, 0x83, 0xc7, 0xc, 0xc8, 0xc, 0xc7, 0x3f, 0x82, 0xca,
0xc, 0xc4, 0xc, 0xca, 0x3f, 0x81, 0xcc, 0x18, 0xcc, 0x3f, 0x80, 0xcf,
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, 0x8e, 0x3f, 0x68, 0x8a, 0xb, 0x9e, 0xb, 0x8a, 0x3f,
0x69, 0x88, 0xb, 0xa2, 0xb, 0x88, 0x3f, 0x6a, 0x85, 0xb, 0xa6, 0xb,
0x85, 0x3f, 0x6b, 0x83, 0xa, 0xac, 0xa, 0x83, 0x3f, 0x76, 0xb0, 0x3f,
0x7f, 0xb4, 0x3f, 0x7b, 0xb8, 0x3f, 0x78, 0xba, 0x3f, 0x79, 0xb6, 0x3f,
0x7d, 0xb2, 0x3f, 0x81, 0xae, 0x3f, 0x85, 0xaa, 0x3f, 0x8a, 0xa4, 0x3f,
0x8f, 0xa0, 0x3f, 0x93, 0x9c, 0x3f, 0x97, 0x98, 0x3f, 0x9c, 0x92, 0x3f,
0xa1, 0x8e, 0x3f, 0xa5, 0x8a, 0x3f, 0xa9, 0x86, 0x3f, 0xab, 0x86, 0x3f,
0xab, 0x86, 0x3f, 0xab, 0x86, 0x3f, 0xab, 0x86, 0x3f, 0xab, 0x86, 0x3f,
0xab, 0x86, 0x3f, 0xab, 0x86, 0x3f, 0xab, 0x86, 0x3f, 0xab, 0x86, 0x3f,
0xab, 0x86, 0x3f, 0xab, 0x86, 0x3f, 0xab, 0x86, 0x3f, 0xab, 0x86, 0x3f,
0xab, 0x86, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
0xbc,
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xbc,
};

static uint16_t clut8_rgb565(uint8_t i)
{
uint16_t rgb565;
Expand Down

0 comments on commit 7b0905b

Please sign in to comment.