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 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;
|
||||
|
|
Loading…
Reference in a new issue