diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2022-10-24 07:53:39 +0100 |
|---|---|---|
| committer | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2022-10-24 07:53:39 +0100 |
| commit | 23dd1960130a493d8721b841bff9448cd2aa8045 (patch) | |
| tree | 48a740134ecb720fb07d021fef5076d0d845bbb4 /src | |
| parent | 6a6da49c1ca4c57e6b9ac32b9221931d3da0e4d2 (diff) | |
Update ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
Diffstat (limited to 'src')
| -rw-r--r-- | src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp index dde328d..28e3277 100644 --- a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp +++ b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp @@ -13,8 +13,8 @@ static const char* TAG = "MatrixPanel"; bool MatrixPanel_I2S_DMA::allocateDMAmemory() { - ESP_LOGI(TAG, "Free heap: %d", ESP.getFreeHeap()); - ESP_LOGI(TAG, "Free SPIRAM: %d", ESP.getFreePsram()); + ESP_LOGI(TAG, "Free heap: %d", heap_caps_get_free_size(MALLOC_CAP_INTERNAL)); + ESP_LOGI(TAG, "Free SPIRAM: %d", heap_caps_get_free_size(MALLOC_CAP_SPIRAM)); // Alright, theoretically we should be OK, so let us do this, so |
