X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fatten-pps3xxx%2Fprotocol.c;h=ed4d5505e6a17d7ef8edf469cd8192e20b987e07;hb=102f12396660e0784134bccce5cc0679db325751;hp=5658d5d576795bf1cc1c4b5a74d7fca70a4d7588;hpb=85b69c2b64fc3f0b0478063a983c1920bf0e30a7;p=libsigrok.git diff --git a/hardware/atten-pps3xxx/protocol.c b/hardware/atten-pps3xxx/protocol.c index 5658d5d5..ed4d5505 100644 --- a/hardware/atten-pps3xxx/protocol.c +++ b/hardware/atten-pps3xxx/protocol.c @@ -153,7 +153,7 @@ SR_PRIV int atten_pps3xxx_receive_data(int fd, int revents, void *cb_data) if (devc->acquisition_running) send_config(sdi); else { - serial_source_remove(serial); + serial_source_remove(sdi->session, serial); packet.type = SR_DF_END; sr_session_send(sdi, &packet); }