diff --git a/examples/simple_repeater/UITask.cpp b/examples/simple_repeater/UITask.cpp index 61a7fedd..ee66520f 100644 --- a/examples/simple_repeater/UITask.cpp +++ b/examples/simple_repeater/UITask.cpp @@ -39,6 +39,9 @@ void UITask::applyDisplayFlip() { if (_observer_prefs == NULL || _observer_prefs->display_flip == _flip_seen) return; _flip_seen = _observer_prefs->display_flip; _display->setFlipped(_flip_seen != 0); + // Logged unconditionally: this is persisted config, so it survives a reflash + // and is otherwise invisible when someone is chasing a wrong orientation. + Serial.printf("Display: flip %s\n", _flip_seen ? "on (rotated 180)" : "off"); #ifdef DISPLAY_REDRAW_ON_CHANGE _frame_valid = false; #endif diff --git a/examples/simple_room_server/UITask.cpp b/examples/simple_room_server/UITask.cpp index 7b4470d2..8dab1cdc 100644 --- a/examples/simple_room_server/UITask.cpp +++ b/examples/simple_room_server/UITask.cpp @@ -38,6 +38,9 @@ void UITask::applyDisplayFlip() { if (_observer_prefs == NULL || _observer_prefs->display_flip == _flip_seen) return; _flip_seen = _observer_prefs->display_flip; _display->setFlipped(_flip_seen != 0); + // Logged unconditionally: this is persisted config, so it survives a reflash + // and is otherwise invisible when someone is chasing a wrong orientation. + Serial.printf("Display: flip %s\n", _flip_seen ? "on (rotated 180)" : "off"); #ifdef DISPLAY_REDRAW_ON_CHANGE _frame_valid = false; #endif