diff --git a/src/hardware/fx2lafw/api.c b/src/hardware/fx2lafw/api.c index c3f3ed4b..4a80b574 100644 --- a/src/hardware/fx2lafw/api.c +++ b/src/hardware/fx2lafw/api.c @@ -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[] = { diff --git a/src/hardware/hantek-dso/api.c b/src/hardware/hantek-dso/api.c index 1c9289e5..d96afdb2 100644 --- a/src/hardware/hantek-dso/api.c +++ b/src/hardware/hantek-dso/api.c @@ -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] = { diff --git a/src/hardware/norma-dmm/protocol.c b/src/hardware/norma-dmm/protocol.c index a077cf98..4dc717c9 100644 --- a/src/hardware/norma-dmm/protocol.c +++ b/src/hardware/norma-dmm/protocol.c @@ -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) diff --git a/src/hardware/zeroplus-logic-cube/analyzer.c b/src/hardware/zeroplus-logic-cube/analyzer.c index 94cf0689..aa5643ab 100644 --- a/src/hardware/zeroplus-logic-cube/analyzer.c +++ b/src/hardware/zeroplus-logic-cube/analyzer.c @@ -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;