From e668d59cc44d4143002b54b569e0a84d697d97ff Mon Sep 17 00:00:00 2001 From: Dhruv Kumar Date: Wed, 22 Mar 2023 12:09:33 +0000 Subject: setRotate renamed to setRotation Keeping it same as Adafruit_GFX --- src/ESP32-VirtualMatrixPanel-I2S-DMA.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/ESP32-VirtualMatrixPanel-I2S-DMA.h b/src/ESP32-VirtualMatrixPanel-I2S-DMA.h index 411e7e9..93d54ca 100644 --- a/src/ESP32-VirtualMatrixPanel-I2S-DMA.h +++ b/src/ESP32-VirtualMatrixPanel-I2S-DMA.h @@ -131,7 +131,7 @@ public: void flipDMABuffer() { display->flipDMABuffer(); } void drawDisplayTest(); - void setRotate(int rotate); + void setRotation(int rotate); void setPhysicalPanelScanRate(PANEL_SCAN_RATE rate); @@ -426,7 +426,7 @@ inline void VirtualMatrixPanel::fillScreen(CRGB color) } #endif -inline void VirtualMatrixPanel::setRotate(int rotate) +inline void VirtualMatrixPanel::setRotation(int rotate) { if(rotate < 4 && rotate >= 0) _rotate = rotate; -- cgit v1.3.1