X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Frigol-ds%2Fprotocol.h;h=7bdf683d341568dfc3a8f05285370ce8de075310;hb=a1b61e6e04246d7619d3cb7e3c6ab77ab6d2e3d5;hp=0117628ca04e72e6451d4b5680c670889db19497;hpb=155b680da482cea2381becb73c51cfb838bff31e;p=libsigrok.git diff --git a/src/hardware/rigol-ds/protocol.h b/src/hardware/rigol-ds/protocol.h index 0117628c..7bdf683d 100644 --- a/src/hardware/rigol-ds/protocol.h +++ b/src/hardware/rigol-ds/protocol.h @@ -98,8 +98,8 @@ struct dev_context { uint64_t num_vdivs; /* Channel groups */ - struct sr_channel_group analog_groups[MAX_ANALOG_CHANNELS]; - struct sr_channel_group digital_group; + struct sr_channel_group **analog_groups; + struct sr_channel_group *digital_group; /* Acquisition settings */ GSList *enabled_analog_channels;