aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDhruv Kumar <dhruv.kumar.s17@gmail.com>2023-03-22 12:09:33 +0000
committerDhruv Kumar <dhruv.kumar.s17@gmail.com>2023-03-22 12:09:33 +0000
commite668d59cc44d4143002b54b569e0a84d697d97ff (patch)
tree129abee0b1dbc51e117fa44d64282a11f9de8e94 /src
parent53ecf54c56babf9d557ff76e0eef254755199060 (diff)
setRotate renamed to setRotation
Keeping it same as Adafruit_GFX
Diffstat (limited to 'src')
-rw-r--r--src/ESP32-VirtualMatrixPanel-I2S-DMA.h4
1 files changed, 2 insertions, 2 deletions
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;