aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2021-08-18 15:28:56 +0100
committermrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2021-08-18 15:28:56 +0100
commit3b13645e7ff4427694a8daa448e66d77882d5f92 (patch)
tree721e707388bd7c19407b1610c0fc884b7413529f
parent54ca0c4b2b06ad2643fa3d2b23683a2a9d51bc0d (diff)
Revert attempt to remove legacy begin
-rw-r--r--ESP32-HUB75-MatrixPanel-I2S-DMA.cpp4
-rw-r--r--ESP32-HUB75-MatrixPanel-I2S-DMA.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp b/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
index a9bc531..0e3b058 100644
--- a/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
+++ b/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp
@@ -756,7 +756,7 @@ void MatrixPanel_I2S_DMA::brtCtrlOE(int brt, const bool _buff_id){
/*
* overload for compatibility
*/
- /*
+
bool MatrixPanel_I2S_DMA::begin(int r1, int g1, int b1, int r2, int g2, int b2, int a, int b, int c, int d, int e, int lat, int oe, int clk) {
// RGB
@@ -772,7 +772,7 @@ bool MatrixPanel_I2S_DMA::begin(int r1, int g1, int b1, int r2, int g2, int b2,
return begin();
}
-*/
+
/**
* @brief - Sets how many clock cycles to blank OE before/after LAT signal change
diff --git a/ESP32-HUB75-MatrixPanel-I2S-DMA.h b/ESP32-HUB75-MatrixPanel-I2S-DMA.h
index 5f14a66..4750b0b 100644
--- a/ESP32-HUB75-MatrixPanel-I2S-DMA.h
+++ b/ESP32-HUB75-MatrixPanel-I2S-DMA.h
@@ -414,11 +414,8 @@ class MatrixPanel_I2S_DMA {
/*
* overload for compatibility
*/
- /*
bool begin(int r1, int g1 = G1_PIN_DEFAULT, int b1 = B1_PIN_DEFAULT, int r2 = R2_PIN_DEFAULT, int g2 = G2_PIN_DEFAULT, int b2 = B2_PIN_DEFAULT, int a = A_PIN_DEFAULT, int b = B_PIN_DEFAULT, int c = C_PIN_DEFAULT, int d = D_PIN_DEFAULT, int e = E_PIN_DEFAULT, int lat = LAT_PIN_DEFAULT, int oe = OE_PIN_DEFAULT, int clk = CLK_PIN_DEFAULT);
- */
- // TODO: Disable/Enable auto buffer flipping (useful for lots of drawPixel usage)...
// Adafruit's BASIC DRAW API (565 colour format)
virtual void drawPixel(int16_t x, int16_t y, uint16_t color); // overwrite adafruit implementation