aboutsummaryrefslogtreecommitdiff
path: root/src/ESP32-HUB75-MatrixPanel-leddrivers.cpp
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2022-10-05 21:47:16 +0100
committermrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2022-10-05 21:47:16 +0100
commit69e75cde12f5c851a57390a100dabcfc279bfc47 (patch)
treeee55fcab8492b371e7cc1844e4652c60a1e67af4 /src/ESP32-HUB75-MatrixPanel-leddrivers.cpp
parentf0a5d1ad5487276bffef92fcce224e32443c2955 (diff)
Cleanup
Consistent spelling of 'colour', double buffering works technically on S3.
Diffstat (limited to 'src/ESP32-HUB75-MatrixPanel-leddrivers.cpp')
-rw-r--r--src/ESP32-HUB75-MatrixPanel-leddrivers.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ESP32-HUB75-MatrixPanel-leddrivers.cpp b/src/ESP32-HUB75-MatrixPanel-leddrivers.cpp
index bb482a2..2c9139e 100644
--- a/src/ESP32-HUB75-MatrixPanel-leddrivers.cpp
+++ b/src/ESP32-HUB75-MatrixPanel-leddrivers.cpp
@@ -35,10 +35,10 @@ void MatrixPanel_I2S_DMA::shiftDriver(const HUB75_I2S_CFG& _cfg){
}
-void MatrixPanel_I2S_DMA::fm6124init(const HUB75_I2S_CFG& _cfg){
- #if SERIAL_DEBUG
- Serial.println( F("MatrixPanel_I2S_DMA - initializing FM6124 driver..."));
- #endif
+void MatrixPanel_I2S_DMA::fm6124init(const HUB75_I2S_CFG& _cfg) {
+
+ ESP_LOGI("LEDdrivers", "MatrixPanel_I2S_DMA - initializing FM6124 driver...");
+
bool REG1[16] = {0,0,0,0,0, 1,1,1,1,1,1, 0,0,0,0,0}; // this sets global matrix brightness power
bool REG2[16] = {0,0,0,0,0, 0,0,0,0,1,0, 0,0,0,0,0}; // a single bit enables the matrix output