Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix red rli_img

devices > 16 bit depth use a struct of values for the pixels
this needs converted to use by functions expecting a single integer as
a pixel value

Change-Id: I540d667239bc581e1d31dfe1e07c51ba10803ddf

authored by

William Wilgus and committed by
William Wilgus
12385828 a6570b7d

+1 -1
+1 -1
apps/plugins/lua/rocklib_img.c
··· 647 647 img_vp.fg_pattern = 0x55 * (~(*clr) & 3); 648 648 img_vp.drawmode = DRMODE_FG; 649 649 #elif LCD_DEPTH > 1 650 - img_vp.fg_pattern = *clr; 650 + img_vp.fg_pattern = FB_UNPACK_SCALAR_LCD(*clr); 651 651 img_vp.drawmode = DRMODE_FG; 652 652 #else /* bit of a hack to make sure lines show properly from lua */ 653 653 /* use rb.lcd_drawline if you want full control */