Skip to content

Commit b276479

Browse files
StaarsChristian Baars
andauthored
fix displayrotate for i2c (#24214)
Co-authored-by: Christian Baars <[email protected]>
1 parent 5bfa621 commit b276479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/lib_display/UDisplay/include/uDisplay_I2C_panel.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class i2c_panel : public UniversalPanel {
5151
bool updateFrame() override;
5252
bool displayOnff(int8_t on) override;
5353
bool invertDisplay(bool invert) override;
54-
bool setRotation(uint8_t rotation) override { return true; }
54+
bool setRotation(uint8_t rotation) override { return false; }
5555

5656
bool drawPixel(int16_t x, int16_t y, uint16_t color) override { return false; }
5757
bool fillRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color) override { return false; }

0 commit comments

Comments
 (0)