X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Fatten-pps3xxx%2Fprotocol.h;h=f9409c2d1f7c01dcf61533fe3454a74c2b09809d;hb=ca314e060f653e6a0b5ec0f58914bac4d426217f;hp=b9a256d17ab820daf73e631890a70bc6ad05278b;hpb=c8e789fa0c7264f8356b0446367cc1252fadfe4c;p=libsigrok.git diff --git a/src/hardware/atten-pps3xxx/protocol.h b/src/hardware/atten-pps3xxx/protocol.h index b9a256d1..f9409c2d 100644 --- a/src/hardware/atten-pps3xxx/protocol.h +++ b/src/hardware/atten-pps3xxx/protocol.h @@ -71,15 +71,11 @@ struct per_channel_config { gboolean output_enabled_set; }; -/** Private, per-device-instance driver context. */ struct dev_context { - /* Model-specific information */ const struct pps_model *model; - /* Acquisition state */ gboolean acquisition_running; - /* Operational state */ gboolean config_dirty; struct per_channel_config *config; /* Blocking write timeout for packet. */ @@ -91,7 +87,6 @@ struct dev_context { int channel_mode_set; gboolean over_current_protection_set; - /* Temporary state across callbacks */ uint8_t packet[PACKET_SIZE]; int packet_size;