X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fikalogic-scanalogic2%2Fprotocol.h;h=5e7c7b3b40686e9a149681dbf747709f2c1566ed;hb=02d5c0d8ea5b398962b51952928d31e75c4a8f8d;hp=3b411e69362de7d3258a845d163d392ad441a933;hpb=9615eeb572be5db9e770c0e343f80ab212335e3f;p=libsigrok.git diff --git a/hardware/ikalogic-scanalogic2/protocol.h b/hardware/ikalogic-scanalogic2/protocol.h index 3b411e69..5e7c7b3b 100644 --- a/hardware/ikalogic-scanalogic2/protocol.h +++ b/hardware/ikalogic-scanalogic2/protocol.h @@ -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,