We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7df1f38 commit 6f9c16dCopy full SHA for 6f9c16d
components/ugfx/drivers/gdisp/SSD1351/gdisp_lld_SSD1351.c
@@ -71,7 +71,7 @@ static const uint8_t gray_scale_table[] = {
71
LLDSPEC bool_t gdisp_lld_init(GDisplay *g) {
72
g->priv = gfxAlloc(GDISP_SCREEN_HEIGHT * GDISP_SCREEN_WIDTH * 2);
73
if (g->priv == NULL) {
74
- return FALSE;
+ gfxHalt("GDISP SSD1351: Failed to allocate private memory");
75
}
76
77
for(int i=0; i < GDISP_SCREEN_HEIGHT * GDISP_SCREEN_WIDTH * 2; i++) {
0 commit comments