X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Frdtech-tc%2Fprotocol.c;h=3b94890d43b30f8926b3321d4533a3602c0a3e7e;hb=7cfa93b013341e1980461c4a56c8d8c0bca800c8;hp=456681ea49d6e7766db9b972dcd380f70a89a61d;hpb=cae33a58743e408a602771d6924ee8c271326f47;p=libsigrok.git diff --git a/src/hardware/rdtech-tc/protocol.c b/src/hardware/rdtech-tc/protocol.c index 456681ea..3b94890d 100644 --- a/src/hardware/rdtech-tc/protocol.c +++ b/src/hardware/rdtech-tc/protocol.c @@ -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)