---
 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 3e6a5be..d1c568c 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;
-- 
1.9.rc1


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
sigrok-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sigrok-devel

Reply via email to