fix: check if boot command (forgot)

This commit is contained in:
CLARATION committed 2026-08-01 04:07:21 -07:00
1 parent 7fe32b54c9
commit 36dc0137bd
1 file changed
+9
+9
View File
@@ -115,6 +115,15 @@ p1_transfer_ret_t issue_pongo_command(const p1_usb_handle_t *handle, const char
}
result:
if (result.ret != 0) {
// boot command, we don't care about results, lets assume success :-)
if (command != NULL && (!strncmp("boot", command, 4))) {
result.ret = 0;
return result;
}
LOG_ERROR("PongoOS command output: %.*s", (int)outpos, stdout_buf);
}
return result;
}