/*
- * This file is part of the sigrok project.
+ * This file is part of the libsigrok project.
*
* Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
*
struct sr_usb_dev_inst *usb;
char str[128];
- (void)sdi;
-
switch (id) {
case SR_CONF_CONN:
if (!sdi || !sdi->conn)
- return SR_ERR;
+ return SR_ERR_ARG;
usb = sdi->conn;
if (usb->address == 255)
/* Device still needs to re-enumerate after firmware