Closed tobozo closed 2 years ago
This PR makes sprite.setPsram() work as expected (see #30 )
sprite.setPsram()
Other changes in createSprite():
createSprite()
removed macros:
used heap_caps_calloc instead of calloc to force memory type
heap_caps_calloc
calloc
Thank you for your help, Merge
This PR makes
sprite.setPsram()
work as expected (see #30 )Other changes in
createSprite()
:removed macros:
if defined(ESP32) && defined(CONFIG_SPIRAM_SUPPORT)
used
heap_caps_calloc
instead ofcalloc
to force memory type