forked from len0rd/rockbox
lcd: Wrap anonymous union initializer in braces
GCC 4.9.4 is apparently smart enough to compile this, but 4.4.4 is not. Change-Id: I186f969cbad4c701936ab738f585efea07421d2e
This commit is contained in:
parent
40b6897f4f
commit
792f05f82a
1 changed files with 3 additions and 1 deletions
|
@ -47,7 +47,9 @@ static long lcd_backdrop_offset IDATA_ATTR = 0;
|
|||
/* shouldn't be changed unless you want system-wide framebuffer changes! */
|
||||
struct frame_buffer_t lcd_framebuffer_default =
|
||||
{
|
||||
.fb_ptr = &lcd_static_framebuffer[0][0],
|
||||
{
|
||||
.fb_ptr = &lcd_static_framebuffer[0][0]
|
||||
},
|
||||
.get_address_fn = &lcd_frameaddress_default,
|
||||
.stride = STRIDE_MAIN(LCD_WIDTH, LCD_HEIGHT),
|
||||
.elems = (LCD_FBWIDTH*LCD_FBHEIGHT),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue