X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fteleinfo%2Fprotocol.h;h=b617074fd74293b311181a6780f7d041d05756dd;hb=0c678b26dd8644b57dc8b2b6666eb7f362975841;hp=3f896523c8bc1f9c0927c7d81144e991ab30e8df;hpb=ffa5f177f15dd8c75612d65b20459e7cdccc68b9;p=libsigrok.git diff --git a/src/hardware/teleinfo/protocol.h b/src/hardware/teleinfo/protocol.h index 3f896523..b617074f 100644 --- a/src/hardware/teleinfo/protocol.h +++ b/src/hardware/teleinfo/protocol.h @@ -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; };