]> sigrok.org Git - libsigrok.git/commitdiff
rigol-ds: properly end WAIT_TRIGGER event handling
authorAurelien Jacobs <redacted>
Sun, 2 Feb 2014 20:44:26 +0000 (21:44 +0100)
committerUwe Hermann <redacted>
Fri, 7 Feb 2014 17:53:04 +0000 (18:53 +0100)
hardware/rigol-ds/protocol.c

index 3e6a5bef694c94c6b8d8247c4ee53e95072b1011..d1c568c2161cd87b4a67f42809d9a5834e8c8890 100644 (file)
@@ -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;