X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fmic-985xx%2Fapi.c;h=3a924072557f25c9dd1b4e8116ad65e6763188bd;hb=f670835f1fbc03525e995d6970a5495976ab7c1a;hp=5f9ea71aac88fd26ef0dd25841ee6f22d841f931;hpb=4b1a9d5d8641080bf10e269aa12a3fc17460365f;p=libsigrok.git
diff --git a/src/hardware/mic-985xx/api.c b/src/hardware/mic-985xx/api.c
index 5f9ea71a..3a924072 100644
--- a/src/hardware/mic-985xx/api.c
+++ b/src/hardware/mic-985xx/api.c
@@ -14,8 +14,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see .
*/
#include
@@ -179,9 +178,6 @@ static int dev_acquisition_start(const struct sr_dev_inst *sdi, int idx)
struct dev_context *devc;
struct sr_serial_dev_inst *serial;
- if (sdi->status != SR_ST_ACTIVE)
- return SR_ERR_DEV_CLOSED;
-
devc = sdi->priv;
sr_sw_limits_acquisition_start(&devc->limits);