setRotate renamed to setRotation
Keeping it same as Adafruit_GFX
This commit is contained in:
parent
53ecf54c56
commit
e668d59cc4
1 changed files with 2 additions and 2 deletions
|
@ -131,7 +131,7 @@ public:
|
||||||
|
|
||||||
void flipDMABuffer() { display->flipDMABuffer(); }
|
void flipDMABuffer() { display->flipDMABuffer(); }
|
||||||
void drawDisplayTest();
|
void drawDisplayTest();
|
||||||
void setRotate(int rotate);
|
void setRotation(int rotate);
|
||||||
|
|
||||||
void setPhysicalPanelScanRate(PANEL_SCAN_RATE rate);
|
void setPhysicalPanelScanRate(PANEL_SCAN_RATE rate);
|
||||||
|
|
||||||
|
@ -426,7 +426,7 @@ inline void VirtualMatrixPanel::fillScreen(CRGB color)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
inline void VirtualMatrixPanel::setRotate(int rotate)
|
inline void VirtualMatrixPanel::setRotation(int rotate)
|
||||||
{
|
{
|
||||||
if(rotate < 4 && rotate >= 0)
|
if(rotate < 4 && rotate >= 0)
|
||||||
_rotate = rotate;
|
_rotate = rotate;
|
||||||
|
|
Loading…
Reference in a new issue