Use ALL_ZERO in a few more places.
This commit is contained in:
parent
ff7c7cda93
commit
1b4aedc06f
|
@ -113,7 +113,7 @@ static const struct fx2lafw_profile supported_fx2[] = {
|
|||
"fx2lafw-sigrok-fx2-16ch.fw",
|
||||
DEV_CAPS_16BIT, NULL, NULL },
|
||||
|
||||
{ 0, 0, 0, 0, 0, 0, 0, 0, 0 }
|
||||
ALL_ZERO
|
||||
};
|
||||
|
||||
static const uint32_t drvopts[] = {
|
||||
|
|
|
@ -105,7 +105,7 @@ static const struct dso_profile dev_profiles[] = {
|
|||
"Hantek", "DSO-5200A",
|
||||
buffersizes_512k,
|
||||
"hantek-dso-5200A.fw" },
|
||||
{ 0, 0, 0, 0, 0, 0, 0, 0 },
|
||||
ALL_ZERO
|
||||
};
|
||||
|
||||
static const uint64_t timebases[][2] = {
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
SR_PRIV const struct nmadmm_req nmadmm_requests[] = {
|
||||
{ NMADMM_REQ_IDN, "IDN?" },
|
||||
{ NMADMM_REQ_IDN, "STATUS?" },
|
||||
{ 0, NULL },
|
||||
ALL_ZERO
|
||||
};
|
||||
|
||||
static int nma_send_req(const struct sr_dev_inst *sdi, int req, char *params)
|
||||
|
|
|
@ -310,7 +310,7 @@ static int __analyzer_set_freq(libusb_device_handle *devh, int freq, int scale)
|
|||
{ 1, FREQ_SCALE_KHZ, 64, 5, 5 },
|
||||
{ 500, FREQ_SCALE_HZ, 64, 10, 5 },
|
||||
{ 100, FREQ_SCALE_HZ, 68, 5, 8 },
|
||||
{ 0, 0, 0, 0, 0 }
|
||||
ALL_ZERO
|
||||
};
|
||||
|
||||
int i;
|
||||
|
|
Loading…
Reference in New Issue