mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-23 10:39:48 +02:00
better pongoOS logging
This commit is contained in:
1 parent
2c5997cd28
commit
98be5af558
1 file changed
+5
-1
+5
-1
@@ -338,7 +338,11 @@ int issue_pongo_command(usb_device_handle_t handle, char *command)
|
||||
LOG(LOG_ERROR, "Pongo command %s too long (max %d)", command, CMD_LEN_MAX - 2);
|
||||
return EINVAL;
|
||||
}
|
||||
LOG(LOG_VERBOSE, "Executing PongoOS command: '%s'", command);
|
||||
if (verbose < 3 || verbose > 4) {
|
||||
LOG(LOG_VERBOSE, "Executing PongoOS command: '%s'", command);
|
||||
} else {
|
||||
printf("%s\n", command);
|
||||
}
|
||||
snprintf(command_buf, 512, "%s\n", command);
|
||||
len = strlen(command_buf);
|
||||
ret = USBControlTransfer(handle, 0x21, 4, 1, 0, 0, NULL, NULL);
|
||||
|
||||
Reference in new issue
Block a user