Use ALL_ZERO in a few more places.

This commit is contained in:
Uwe Hermann 2016-01-07 23:46:36 +01:00
parent ff7c7cda93
commit 1b4aedc06f
4 changed files with 4 additions and 4 deletions

View File

@ -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[] = {

View File

@ -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] = {

View File

@ -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)

View File

@ -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;