mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-25 20:04:03 +02:00
mv the output cpu out of the open-xburst-device function
This commit is contained in:
parent
2b60170c9c
commit
0159afd121
@ -87,6 +87,7 @@ int main(int argc, char** argv)
|
||||
|
||||
xburst_h = open_xburst_device();
|
||||
if (xburst_h) {
|
||||
printf("\nInfo - found XBurst boot device.\n");
|
||||
if (send_request(xburst_h, "set_addr", STAGE1_ADDRESS)) {
|
||||
close_xburst_device(xburst_h);
|
||||
continue;
|
||||
@ -227,7 +228,6 @@ struct usb_dev_handle* open_xburst_device()
|
||||
goto xout_xburst_h;
|
||||
}
|
||||
|
||||
printf("\nInfo - found XBurst CPU: JZ%x device\n", xburst_dev->descriptor.idProduct);
|
||||
return xburst_h;
|
||||
|
||||
xout_xburst_h:
|
||||
|
Loading…
Reference in New Issue
Block a user