cancel
Showing results for 
Search instead for 
Did you mean: 

getPixelData() Hardfault

beezybee
Associate

I have a screen with only 1 line of text and I get a Hard Fault when I try to run it. I get the fault here at the glyph->dataOffset:


const uint8_t* GeneratedFont::getPixelData(const GlyphNode* glyph) const
{
const uint8_t* const* table = (const uint8_t* const*)glyphData;
return &(table[glyph->unicode / 2048][glyph->dataOffset]);
}

I have everything stored in internal flash and it is initialized before TouchGFX

0 REPLIES 0