Update ESP32-VirtualMatrixPanel-I2S-DMA.h
This commit is contained in:
parent
2fe0cf0806
commit
4cb60e0180
1 changed files with 2 additions and 2 deletions
|
@ -134,7 +134,7 @@ public:
|
|||
void drawDisplayTest();
|
||||
|
||||
void setPhysicalPanelScanRate(PANEL_SCAN_RATE rate);
|
||||
void setScaleFactor(int scale);
|
||||
void setZoomFactor(int scale);
|
||||
|
||||
private:
|
||||
MatrixPanel_I2S_DMA *display;
|
||||
|
@ -500,7 +500,7 @@ inline void VirtualMatrixPanel::setPhysicalPanelScanRate(PANEL_SCAN_RATE rate)
|
|||
panel_scan_rate = rate;
|
||||
}
|
||||
|
||||
inline void VirtualMatrixPanel::setScaleFactor(int scale)
|
||||
inline void VirtualMatrixPanel::setZoomFactor(int scale)
|
||||
{
|
||||
if(scale < 5 && scale > 0)
|
||||
_scale_factor = scale;
|
||||
|
|
Loading…
Reference in a new issue