Skip to content

Commit e668d59

Browse files
committed
setRotate renamed to setRotation
Keeping it same as Adafruit_GFX
1 parent 53ecf54 commit e668d59

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ESP32-VirtualMatrixPanel-I2S-DMA.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class VirtualMatrixPanel
131131

132132
void flipDMABuffer() { display->flipDMABuffer(); }
133133
void drawDisplayTest();
134-
void setRotate(int rotate);
134+
void setRotation(int rotate);
135135

136136
void setPhysicalPanelScanRate(PANEL_SCAN_RATE rate);
137137

@@ -426,7 +426,7 @@ inline void VirtualMatrixPanel::fillScreen(CRGB color)
426426
}
427427
#endif
428428

429-
inline void VirtualMatrixPanel::setRotate(int rotate)
429+
inline void VirtualMatrixPanel::setRotation(int rotate)
430430
{
431431
if(rotate < 4 && rotate >= 0)
432432
_rotate = rotate;

0 commit comments

Comments
 (0)