X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Finput%2Flogicport.c;h=e594b2cece049379eaed8d869af2ebb4fd3316c0;hb=f73b00b647ccca65e1aaba21a1b826f3f4b965ab;hp=011735302f0f4483e6425d2a0d2aafa26d8069a8;hpb=4c40d096d4cde1b0538dea216e50846a14f33aaa;p=libsigrok.git diff --git a/src/input/logicport.c b/src/input/logicport.c index 01173530..e594b2ce 100644 --- a/src/input/logicport.c +++ b/src/input/logicport.c @@ -1180,11 +1180,6 @@ static int reset(struct sr_input *in) inc->channels = NULL; cleanup(in); inc->channels = channels; - inc->ch_feed_prep = FALSE; - inc->header_sent = FALSE; - inc->rate_sent = FALSE; - if (in->buf) - g_string_truncate(in->buf, 0); return SR_OK; }