Update ESP32-VirtualMatrixPanel-I2S-DMA.h
This commit is contained in:
parent
a8237687cf
commit
cfb9cd1526
1 changed files with 4 additions and 1 deletions
|
@ -176,6 +176,9 @@ inline void VirtualMatrixPanel::drawPixelRGB888(int16_t x, int16_t y, uint8_t r,
|
|||
|
||||
inline void VirtualMatrixPanel::setRotate(bool rotate) {
|
||||
_rotate=rotate;
|
||||
|
||||
// We don't support rotation by degrees.
|
||||
if (rotate) { setRotation(1); } else { setRotation(0); }
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue