~aleteoryx/muditaos

5c1d6641fe489d365ce5a0e8f89d18b566f77d8e — Lefucjusz 1 year, 11 months ago 38357c9
[MOS-1061] Fix screen backlight flash when turning off

Fix of the issue that screen backlight
would sometimes flash lightly when the
phone is turning off.
2 files changed, 5 insertions(+), 6 deletions(-)

M module-bsp/board/rt1051/puretx/board.cpp
M pure_changelog.md
M module-bsp/board/rt1051/puretx/board.cpp => module-bsp/board/rt1051/puretx/board.cpp +3 -5
@@ 1,4 1,4 @@
// Copyright (c) 2017-2023, Mudita Sp. z.o.o. All rights reserved.
// Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md

#include "bsp.hpp"


@@ 36,11 36,9 @@ namespace bsp
        switch (state) {
        case RebootState::None:
            break;
        case RebootState::Poweroff:
            board_shutdown();
            break;
        case RebootState::Reboot:
            board_reset();
        case RebootState::Poweroff:
            board_reset(); // Reset will result in powering off the CPU if USB is disconnected due to hardware design
            break;
        }


M pure_changelog.md => pure_changelog.md +2 -1
@@ 3,7 3,8 @@
## Unreleased

### Fixed
Fixed no response when editing a contact via Center to have the same number as another
* Fixed no response when editing a contact via Center to have the same number as another.
* Fixed occasional screen backlight flash when turning off the phone.

### Added