mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 15:00:46 +00:00
Revert "Merge branch 'flipperdevices:dev' into dev"
This reverts commit692f180f2e
, reversing changes made toc12fc57997
.
This commit is contained in:
parent
9fe7fe5dc2
commit
a3e595575d
1 changed files with 2 additions and 3 deletions
|
@ -100,12 +100,11 @@ void desktop_pin_lock_init(DesktopSettings* settings) {
|
|||
} else {
|
||||
furi_hal_rtc_set_pin_fails(0);
|
||||
furi_hal_rtc_reset_flag(FuriHalRtcFlagLock);
|
||||
furi_hal_usb_enable();
|
||||
}
|
||||
|
||||
if(desktop_pin_lock_is_locked()) {
|
||||
Cli* cli = furi_record_open("cli");
|
||||
cli_session_close(cli);
|
||||
furi_record_close("cli");
|
||||
furi_hal_usb_disable();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue