Merge pull request #3731 from adrian-stepien/dev/bootloader-dump-cleanup

Avoid hanging the bootrom after a memory dump
This commit is contained in:
Iceman authored and GitHub committed 2026-10-28 13:14:51 +07:00
commit a71c3ebad3
1 file changed
+2 -1
+2 -1
View File
@@ -964,7 +964,8 @@ finish2:
clearCommandBuffer();
if (in_bootloader) {
g_session.current_device->g_conn->run = false;
SendCommandBL(CMD_PING, 0, 0, 0, NULL, 0);
// Wake the comm thread with a command supported by the bootrom.
SendCommandBL(CMD_DEVICE_INFO, 0, 0, 0, NULL, 0);
} else {
SendCommandNG(CMD_QUIT_SESSION, NULL, 0);
msleep(100);