diff options
| author | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2023-04-03 10:06:44 +0100 |
|---|---|---|
| committer | mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> | 2023-04-03 10:06:44 +0100 |
| commit | 4cb60e01807fdae001be6121d5be1c5adef04e34 (patch) | |
| tree | 60c504cfb6b2fe869ff03a7fce430b54cffd3cf5 /src | |
| parent | 2fe0cf0806070d5a3b9f59f4679ab3c15ddaf186 (diff) | |
Update ESP32-VirtualMatrixPanel-I2S-DMA.h
Diffstat (limited to 'src')
| -rw-r--r-- | src/ESP32-VirtualMatrixPanel-I2S-DMA.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ESP32-VirtualMatrixPanel-I2S-DMA.h b/src/ESP32-VirtualMatrixPanel-I2S-DMA.h index 37af9be..e30f44a 100644 --- a/src/ESP32-VirtualMatrixPanel-I2S-DMA.h +++ b/src/ESP32-VirtualMatrixPanel-I2S-DMA.h @@ -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; |
