rigol-ds: Add missing "break" statements.
This commit is contained in:
parent
d50725e012
commit
f44f7e61a3
|
@ -532,6 +532,7 @@ static int config_get(uint32_t key, GVariant **data, const struct sr_dev_inst *s
|
|||
break;
|
||||
case SR_CONF_NUM_VDIV:
|
||||
*data = g_variant_new_int32(NUM_VDIV);
|
||||
break;
|
||||
case SR_CONF_DATA_SOURCE:
|
||||
if (devc->data_source == DATA_SOURCE_LIVE)
|
||||
*data = g_variant_new_string("Live");
|
||||
|
|
|
@ -520,6 +520,7 @@ SR_PRIV int rigol_ds_receive(int fd, int revents, void *cb_data)
|
|||
return TRUE;
|
||||
default:
|
||||
sr_err("BUG: Unknown event target encountered");
|
||||
break;
|
||||
}
|
||||
|
||||
ch = devc->channel_entry->data;
|
||||
|
|
Loading…
Reference in New Issue