]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/teleinfo/protocol.h
drivers: Consistently use same indentation for config_*() API calls.
[libsigrok.git] / src / hardware / teleinfo / protocol.h
index 3f896523c8bc1f9c0927c7d81144e991ab30e8df..b617074fd74293b311181a6780f7d041d05756dd 100644 (file)
@@ -37,15 +37,9 @@ enum optarif {
 
 #define TELEINFO_BUF_SIZE 256
 
-/** Private, per-device-instance driver context. */
 struct dev_context {
-       /* Acquisition settings */
        struct sr_sw_limits sw_limits;
-
-       /* Operational state */
-       enum optarif optarif;     /**< The device mode (which measures are reported) */
-
-       /* Temporary state across callbacks */
+       enum optarif optarif; /**< The device mode (which measures are reported) */
        uint8_t buf[TELEINFO_BUF_SIZE];
        int buf_len;
 };