forked from Ivasoft/DSView
code clean
This commit is contained in:
@@ -288,9 +288,6 @@ static GSList *scan(GSList *options)
|
||||
/* Find all DSLogic compatible devices and upload firmware to them. */
|
||||
devices = NULL;
|
||||
libusb_get_device_list(drvc->sr_ctx->libusb_ctx, &devlist);
|
||||
int stdnum = 0;
|
||||
|
||||
|
||||
for (i = 0; devlist[i]; i++) {
|
||||
if (conn) {
|
||||
usb = NULL;
|
||||
@@ -317,8 +314,6 @@ static GSList *scan(GSList *options)
|
||||
(usb_speed != LIBUSB_SPEED_SUPER))
|
||||
continue;
|
||||
|
||||
stdnum++;
|
||||
|
||||
prof = NULL;
|
||||
for (j = 0; supported_DSLogic[j].vid; j++) {
|
||||
if (des.idVendor == supported_DSLogic[j].vid &&
|
||||
|
||||
@@ -168,9 +168,8 @@ static const struct DEMO_profile supported_Demo[] = {
|
||||
(1 << DEMO_LOGIC100x16) |
|
||||
(1 << DEMO_ANALOG10x2) |
|
||||
(1 << DEMO_DSO200x2),
|
||||
//SR_Mn(100),
|
||||
SR_Gn(16),
|
||||
SR_Kn(20),
|
||||
SR_Mn(100),
|
||||
SR_Kn(20),
|
||||
0,
|
||||
vdivs10to2000,
|
||||
0,
|
||||
|
||||
Reference in New Issue
Block a user