aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2022-10-23 12:42:00 +0100
committermrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2022-10-23 12:42:00 +0100
commit4a9160904a13858ab3a0789cd3b2f3e9ebfc805a (patch)
treeba9c5e429a01c33163f161fdddc441ca219bd83e
parente9405a9ece557efd21a3ae46afd774182516dada (diff)
parentf9c609b88a7b73c9f7efda40aa74c815197bc01e (diff)
Merge branch 'master' of https://github.com/mrfaptastic/ESP32-HUB75-MatrixPanel-DMA
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c216185..bac04f6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -4,7 +4,7 @@
cmake_minimum_required(VERSION 3.5)
-idf_component_register(SRCS "esp32_i2s_parallel_dma.c" "ESP32-HUB75-MatrixPanel-I2S-DMA.cpp" "ESP32-HUB75-MatrixPanel-leddrivers.cpp"
+idf_component_register(SRCS "src/platforms/esp32/esp32_i2s_parallel_dma.cpp" "src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp" "src/ESP32-HUB75-MatrixPanel-leddrivers.cpp"
INCLUDE_DIRS "."
REQUIRES arduino Adafruit-GFX-Library)
diff --git a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
index 8526b44..40388fd 100644
--- a/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
+++ b/src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
@@ -177,7 +177,7 @@ void MatrixPanel_I2S_DMA::configureDMA(const HUB75_I2S_CFG& _cfg)
} // end frame rows
- ESP_LOGI(TAG, "%d DMA descriptors linked to buffer data.");
+ ESP_LOGI(TAG, "%d DMA descriptors linked to buffer data.", current_dmadescriptor_offset);
//
// Setup DMA and Output to GPIO