mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-09 13:07:03 +03:00
minor tweaks
This commit is contained in:
@@ -200,7 +200,8 @@ static bool SSD1306_Init( struct SSD1306_Device* DeviceHandle, int Width, int He
|
||||
DeviceHandle->Height = Height;
|
||||
DeviceHandle->FramebufferSize = ( DeviceHandle->Width * Height ) / 8;
|
||||
|
||||
DeviceHandle->Framebuffer = heap_caps_calloc( 1, DeviceHandle->FramebufferSize, MALLOC_CAP_DMA | MALLOC_CAP_8BIT );
|
||||
// DeviceHandle->Framebuffer = heap_caps_calloc( 1, DeviceHandle->FramebufferSize, MALLOC_CAP_INTERNAL );
|
||||
DeviceHandle->Framebuffer = calloc( 1, DeviceHandle->FramebufferSize );
|
||||
|
||||
NullCheck( DeviceHandle->Framebuffer, return false );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user