Revert "Merge branch 'flipperdevices:dev' into dev"

This reverts commit 692f180f2e, reversing
changes made to c12fc57997.
This commit is contained in:
r3df0xx 2022-05-19 20:04:33 +03:00
parent 9fe7fe5dc2
commit a3e595575d

View file

@ -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();
}
}