mirror of
https://github.com/sharkcz/rkdeveloptool.git
synced 2024-10-20 06:49:33 +02:00
main: Do not reset device after ul command success
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
parent
641cfa16d6
commit
055958c9e7
8
main.cpp
8
main.cpp
@ -1495,14 +1495,6 @@ bool download_boot(STRUCT_RKDEVICE_DESC &dev, char *szLoader)
|
||||
CURSOR_MOVEUP_LINE(1);
|
||||
CURSOR_DEL_LINE;
|
||||
if (iRet == 0) {
|
||||
pComm->Reset_Usb_Device();
|
||||
CRKScan *pScan = NULL;
|
||||
pScan = new CRKScan();
|
||||
if (pScan) {
|
||||
pScan->SetVidPid();
|
||||
pScan->Wait(dev, RKUSB_MASKROM, dev.usVid, dev.usPid);
|
||||
delete pScan;
|
||||
}
|
||||
bSuccess = true;
|
||||
printf("Download boot ok.\r\n");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user