]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/asix-sigma/api.c
asix-sigma: Silence a compiler warning (declared but not used)
[libsigrok.git] / src / hardware / asix-sigma / api.c
index 4b35ea333070b5bcb2d06cc49bfe198d6fe72cae..4e3d32beb99f1f934e37a36af306883628d94373 100644 (file)
@@ -50,13 +50,14 @@ static const uint32_t devopts[] = {
 #endif
 };
 
+#if ASIX_SIGMA_WITH_TRIGGER
 static const int32_t trigger_matches[] = {
        SR_TRIGGER_ZERO,
        SR_TRIGGER_ONE,
        SR_TRIGGER_RISING,
        SR_TRIGGER_FALLING,
 };
-
+#endif
 
 static int dev_clear(const struct sr_dev_driver *di)
 {