From: Aurelien Jacobs Date: Sun, 2 Feb 2014 20:44:26 +0000 (+0100) Subject: rigol-ds: properly end WAIT_TRIGGER event handling X-Git-Tag: libsigrok-0.3.0~160 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=3918fbb0cf65df317390643f2bb143716b8d0a60;p=libsigrok.git rigol-ds: properly end WAIT_TRIGGER event handling --- diff --git a/hardware/rigol-ds/protocol.c b/hardware/rigol-ds/protocol.c index 3e6a5bef..d1c568c2 100644 --- a/hardware/rigol-ds/protocol.c +++ b/hardware/rigol-ds/protocol.c @@ -505,7 +505,7 @@ SR_PRIV int rigol_ds_receive(int fd, int revents, void *cb_data) return TRUE; if (rigol_ds_channel_start(sdi) != SR_OK) return TRUE; - break; + return TRUE; case WAIT_BLOCK: if (rigol_ds_block_wait(sdi) != SR_OK) return TRUE;