From 3918fbb0cf65df317390643f2bb143716b8d0a60 Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Sun, 2 Feb 2014 21:44:26 +0100 Subject: [PATCH] rigol-ds: properly end WAIT_TRIGGER event handling --- hardware/rigol-ds/protocol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;