Skip to content
Snippets Groups Projects
Commit 8c9b93f0 authored by pippin's avatar pippin Committed by pippin
Browse files

st3m_gfx: fix initial mode set

This makes initial call to st3m_gfx_set_mode(st3m_gfx_default) do something,
doesn't matter for the current configured default mode, but is neccesary in
8bpp modes.
parent 674b38df
No related branches found
No related tags found
No related merge requests found
...@@ -45,7 +45,7 @@ static const char *TAG = "st3m-gfx"; ...@@ -45,7 +45,7 @@ static const char *TAG = "st3m-gfx";
#define ST3M_OSD_X 0 #define ST3M_OSD_X 0
#define ST3M_OSD_Y 0 #define ST3M_OSD_Y 0
static st3m_gfx_mode _st3m_gfx_mode = st3m_gfx_default; static st3m_gfx_mode _st3m_gfx_mode = st3m_gfx_default + 1;
EXT_RAM_BSS_ATTR static uint8_t EXT_RAM_BSS_ATTR static uint8_t
st3m_osd_fb[ST3M_OSD_WIDTH * ST3M_OSD_HEIGHT * 4]; st3m_osd_fb[ST3M_OSD_WIDTH * ST3M_OSD_HEIGHT * 4];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment