fix: LittleFS partition label mismatch and display rotation (180°)
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -17,8 +17,7 @@ void DisplayManager::begin(PowerManager& power) {
|
||||
_display = &M5.Display;
|
||||
|
||||
// Set rotation for landscape (device physically rotated)
|
||||
// Rotation value depends on how the display is mounted — likely 1 or 3
|
||||
_display->setRotation(1);
|
||||
_display->setRotation(3);
|
||||
|
||||
Serial.printf("[display] Initialized: %dx%d, rotation=%d\n",
|
||||
_display->width(), _display->height(), _display->getRotation());
|
||||
|
||||
Reference in New Issue
Block a user