]> sigrok.org Git - libsigrok.git/commitdiff
uni-t-dmm: Add a missing NULL (fixes a crash on Android).
authorUwe Hermann <redacted>
Thu, 9 Apr 2015 21:13:30 +0000 (23:13 +0200)
committerUwe Hermann <redacted>
Thu, 9 Apr 2015 21:13:30 +0000 (23:13 +0200)
This caused an non-terminated driver list, which lead to a crash
on Android (at least on ARM).

src/hardware/uni-t-dmm/api.c

index 442b5f5af3a89cb2a83be7982adf42cf79981dd8..40ef808aee43a7c34caa5b441fef687945e0ef4b 100644 (file)
@@ -402,4 +402,5 @@ SR_PRIV const struct dmm_info *uni_t_dmm_drivers[] = {
                sr_es519xx_19200_11b_packet_valid, sr_es519xx_19200_11b_parse,
                NULL
        ),
+       NULL
 };