Clean up RAMAllocators in display related code (#9141)

This commit is contained in:
Jesse Hills
2025-06-19 05:17:08 +00:00
committed by GitHub
parent d4cb4ef994
commit 30bea20f7a
7 changed files with 27 additions and 27 deletions
@@ -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!");