]> sigrok.org Git - libsigrok.git/blobdiff - hardware/ikalogic-scanalogic2/protocol.h
ikalogic-scanalogic2: Use new trigger API.
[libsigrok.git] / hardware / ikalogic-scanalogic2 / protocol.h
index 3b411e69362de7d3258a845d163d392ad441a933..5e7c7b3b40686e9a149681dbf747709f2c1566ed 100644 (file)
@@ -49,8 +49,6 @@
 #define NUM_SAMPLERATES                        11
 #define NUM_CHANNELS                   4
 
-#define TRIGGER_TYPES                  "rfc"
-
 /*
  * Number of sample bytes and samples the device can acquire. Note that the
  * vendor software can acquire 32736 sample bytes only but the device is capable
@@ -225,7 +223,7 @@ SR_PRIV int sl2_set_samplerate(const struct sr_dev_inst *sdi,
                uint64_t samplerate);
 SR_PRIV int sl2_set_limit_samples(const struct sr_dev_inst *sdi,
                                  uint64_t limit_samples);
-SR_PRIV void sl2_configure_trigger(const struct sr_dev_inst *sdi);
+SR_PRIV int sl2_convert_trigger(const struct sr_dev_inst *sdi);
 SR_PRIV int sl2_set_capture_ratio(const struct sr_dev_inst *sdi,
                                  uint64_t capture_ratio);
 SR_PRIV int sl2_set_after_trigger_delay(const struct sr_dev_inst *sdi,