]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/rdtech-tc/protocol.c
rdtech-tc/um: silence "missing field identifier" compiler warning
[libsigrok.git] / src / hardware / rdtech-tc / protocol.c
index 456681ea49d6e7766db9b972dcd380f70a89a61d..3b94890d43b30f8926b3321d4533a3602c0a3e7e 100644 (file)
@@ -71,7 +71,7 @@ static const struct binary_analog_channel rdtech_tc_channels[] = {
        { "D-", {  64 + 36, BVT_LE_UINT32, 1e-2, }, 2, SR_MQ_VOLTAGE, SR_UNIT_VOLT },
        { "E0", {  64 + 12, BVT_LE_UINT32, 1e-3, }, 3, SR_MQ_ENERGY, SR_UNIT_WATT_HOUR },
        { "E1", {  64 + 20, BVT_LE_UINT32, 1e-3, }, 3, SR_MQ_ENERGY, SR_UNIT_WATT_HOUR },
-       { NULL, },
+       ALL_ZERO,
 };
 
 static int check_pac_crc(uint8_t *data)