Revert Deep Sleep due to BLE issues and other random freezes

Waiting for proper fix
This commit is contained in:
MX
2023-04-14 14:45:23 +03:00
parent 0f6c2bff06
commit addf909287
26 changed files with 118 additions and 244 deletions

View File

@@ -135,7 +135,6 @@ class FlipperAppStateHelper:
self.app_list_ptr = None
self.app_list_entry_type = None
self._current_apps: list[AppState] = []
self.set_debug_mode(True)
def _walk_app_list(self, list_head):
while list_head:
@@ -196,7 +195,7 @@ class FlipperAppStateHelper:
self.set_debug_mode(False)
def set_debug_mode(self, mode: bool) -> None:
gdb.execute(f"set variable furi_hal_debug_gdb_session_active = {int(mode)}")
gdb.execute(f"set variable fap_loader_debug_active = {int(mode)}")
# Init additional 'fap-set-debug-elf-root' command and set up hooks