mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-13 23:17:03 +03:00
handle case w/o display - release
This commit is contained in:
@@ -47,7 +47,7 @@ void SSD1306_FontDrawChar( struct SSD1306_Device* DisplayHandle, char Character,
|
||||
|
||||
NullCheck( ( GlyphData = GetCharPtr( DisplayHandle->Font, Character ) ), return );
|
||||
|
||||
if ( Character >= DisplayHandle->Font->StartChar || Character <= DisplayHandle->Font->EndChar ) {
|
||||
if ( Character >= DisplayHandle->Font->StartChar && Character <= DisplayHandle->Font->EndChar ) {
|
||||
/* The first byte in the glyph data is the width of the character in pixels, skip over */
|
||||
GlyphData++;
|
||||
GlyphColumnLen = RoundUpFontHeight( DisplayHandle->Font ) / 8;
|
||||
|
||||
Reference in New Issue
Block a user