/*
- * This file is part of the sigrok project.
+ * This file is part of the libsigrok project.
*
* Copyright (C) 2013 Bert Vermeulen <bert@biot.com>
* Copyright (C) 2012 Joel Holdsworth <joel@airwebreathe.org.uk>
int devcnt, num_logic_probes, ret, i, j;
const char *conn;
- (void)options;
-
drvc = di->priv;
/* This scan always invalidates any previous scans. */
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