aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2020-12-07 18:39:39 +0000
committermrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2020-12-07 18:39:39 +0000
commit5108c945cdc9064bf941e2e8fc053a806b226a78 (patch)
treeed7ecd6cb79c23b0dabfbc61f345b6a691d79243
parentd446d1195c05ce35b6d3cedbd9b2a215b92b1fc8 (diff)
Backwards compatability cleanup
-rw-r--r--ESP32-HUB75-MatrixPanel-I2S-DMA.h4
-rw-r--r--ESP32-RGB64x32MatrixPanel-I2S-DMA.h3
2 files changed, 3 insertions, 4 deletions
diff --git a/ESP32-HUB75-MatrixPanel-I2S-DMA.h b/ESP32-HUB75-MatrixPanel-I2S-DMA.h
index e20ee33..ccb517c 100644
--- a/ESP32-HUB75-MatrixPanel-I2S-DMA.h
+++ b/ESP32-HUB75-MatrixPanel-I2S-DMA.h
@@ -487,7 +487,5 @@ inline void MatrixPanel_I2S_DMA::drawIcon (int *ico, int16_t x, int16_t y, int16
}
}
-/***************************************************************************************/
-typedef MatrixPanel_I2S_DMA RGB64x32MatrixPanel_I2S_DMA; // for backwards compatibility to old class name
-#endif
+#endif \ No newline at end of file
diff --git a/ESP32-RGB64x32MatrixPanel-I2S-DMA.h b/ESP32-RGB64x32MatrixPanel-I2S-DMA.h
index 240372a..a35590f 100644
--- a/ESP32-RGB64x32MatrixPanel-I2S-DMA.h
+++ b/ESP32-RGB64x32MatrixPanel-I2S-DMA.h
@@ -1,3 +1,4 @@
/* For backwards compatibility only */
#pragma message "Please update your include to use ESP32-HUB75-MatrixPanel-I2S-DMA.h instead!"
-#include "ESP32-HUB75-MatrixPanel-I2S-DMA.h" \ No newline at end of file
+#include "ESP32-HUB75-MatrixPanel-I2S-DMA.h"
+typedef MatrixPanel_I2S_DMA RGB64x32MatrixPanel_I2S_DMA; // for backwards compatibility to old class name \ No newline at end of file