Clean up RAMAllocators in display related code (#9141)

This commit is contained in:
Jesse Hills authored and GitHub committed 2025-06-19 05:17:08 +00:00
1 parent d4cb4ef994
commit 30bea20f7a
7 files changed
+27 -27

No files matched your search

@@ -11,7 +11,7 @@ namespace display {
static const char *const TAG = "display";
void DisplayBuffer::init_internal_(uint32_t buffer_length) {
ExternalRAMAllocator<uint8_t> allocator(ExternalRAMAllocator<uint8_t>::ALLOW_FAILURE);
RAMAllocator<uint8_t> allocator;
this->buffer_ = allocator.allocate(buffer_length);
if (this->buffer_ == nullptr) {
ESP_LOGE(TAG, "Could not allocate buffer for display!");