summaryrefslogtreecommitdiff
path: root/utils/jz4740_tools/jz4740_usbtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'utils/jz4740_tools/jz4740_usbtool.c')
-rw-r--r--[-rwxr-xr-x]utils/jz4740_tools/jz4740_usbtool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/jz4740_tools/jz4740_usbtool.c b/utils/jz4740_tools/jz4740_usbtool.c
index 6d670254e4..165aafb19d 100755..100644
--- a/utils/jz4740_tools/jz4740_usbtool.c
+++ b/utils/jz4740_tools/jz4740_usbtool.c
@@ -199,7 +199,7 @@ int upload_app(usb_dev_handle* dh, int address, unsigned char* p, int len, bool
199 free(tmp_buf); 199 free(tmp_buf);
200 200
201 fprintf(stderr, "[INFO] Booting device [STAGE%d]...", (stage2 ? 2 : 1)); 201 fprintf(stderr, "[INFO] Booting device [STAGE%d]...", (stage2 ? 2 : 1));
202 SEND_COMMAND((stage2 ? VR_PROGRAM_START2 : VR_PROGRAM_START1), (address+(stage2 ? 8 : 0)) ); 202 SEND_COMMAND((stage2 ? VR_PROGRAM_START2 : VR_PROGRAM_START1), address );
203 fprintf(stderr, " Done!\n"); 203 fprintf(stderr, " Done!\n");
204 204
205 return 0; 205 return 0;