X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=src%2Fhardware%2Funi-t-ut32x%2Fprotocol.c;h=beced8d48b213532d6d3b652fa5c3b7d1b253de0;hb=de285cce11aca3afd0d4adfdd514c691e6a71c64;hp=a79d07ae2f28ade7d467e4eaea508770aaf2165c;hpb=55462b8ba9f48931de9b9a7bfbc182a1d113b3b5;p=libsigrok.git diff --git a/src/hardware/uni-t-ut32x/protocol.c b/src/hardware/uni-t-ut32x/protocol.c index a79d07ae..beced8d4 100644 --- a/src/hardware/uni-t-ut32x/protocol.c +++ b/src/hardware/uni-t-ut32x/protocol.c @@ -17,6 +17,7 @@ * along with this program. If not, see . */ +#include #include #include #include "protocol.h" @@ -207,7 +208,7 @@ SR_PRIV int uni_t_ut32x_handle_events(int fd, int revents, void *cb_data) return TRUE; di = sdi->driver; - drvc = di->priv; + drvc = di->context; if (!(devc = sdi->priv)) return TRUE;