From: Bert Vermeulen Date: Mon, 22 Sep 2014 13:22:41 +0000 (+0200) Subject: input: Add sdi_ready flag to struct sr_input. X-Git-Tag: libsigrok-0.4.0~921 X-Git-Url: https://sigrok.org/gitweb/?a=commitdiff_plain;h=d0181813315114b88ad38cf276045ee5c311ca3c;hp=d0181813315114b88ad38cf276045ee5c311ca3c;p=libsigrok.git input: Add sdi_ready flag to struct sr_input. When an input module instance has received enough input to fully populate the struct sr_dev_inst, sdi_ready is set to TRUE and its receive() method returns immediately. Any remaining received data is buffered until the next time the function is called. ---