X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=libsigrok-internal.h;h=89bedde1dabb6c5b3f4cdd9f5241f3ff3cae72e5;hb=3628074d09723f20fa1b0a2026d6300ff69242c3;hp=54b23e32913b45f7d3807f3644ea6f2b2ddce01e;hpb=2a0f6924d2c8f3b203560ba0086e9d297855677a;p=libsigrok.git diff --git a/libsigrok-internal.h b/libsigrok-internal.h index 54b23e32..89bedde1 100644 --- a/libsigrok-internal.h +++ b/libsigrok-internal.h @@ -224,15 +224,15 @@ SR_PRIV int sr_err(const char *format, ...); /*--- device.c --------------------------------------------------------------*/ -/** Values for the changes argument of sr_dev_driver.config_probe_set. */ +/** Values for the changes argument of sr_dev_driver.config_channel_set. */ enum { - /** The enabled state of the probe has been changed. */ - SR_PROBE_SET_ENABLED = 1 << 0, - /** The trigger setup of the probe has been changed. */ - SR_PROBE_SET_TRIGGER = 1 << 1, + /** The enabled state of the channel has been changed. */ + SR_CHANNEL_SET_ENABLED = 1 << 0, + /** The trigger setup of the channel has been changed. */ + SR_CHANNEL_SET_TRIGGER = 1 << 1, }; -SR_PRIV struct sr_probe *sr_probe_new(int index, int type, +SR_PRIV struct sr_channel *sr_channel_new(int index, int type, gboolean enabled, const char *name); /* Generic device instances */ @@ -591,7 +591,7 @@ struct metex14_info { gboolean is_diode, is_frequency, is_ampere, is_volt, is_farad; gboolean is_hertz, is_ohm, is_celsius, is_pico, is_nano, is_micro; gboolean is_milli, is_kilo, is_mega, is_gain, is_decibel, is_hfe; - gboolean is_unitless; + gboolean is_unitless, is_logic; }; #ifdef HAVE_LIBSERIALPORT