X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fradioshack-dmm%2Fprotocol.h;h=7ee7adc7f8585c21222b02bcf0a82ef41bc6b397;hb=05f134abc2641e6e4d3a22a8dda19460819af16e;hp=e1c4144285071695d8dbca511cf872a4c09d7bcc;hpb=ae95ffebfa0d8c0992332b33631a26d898957b34;p=libsigrok.git diff --git a/hardware/radioshack-dmm/protocol.h b/hardware/radioshack-dmm/protocol.h index e1c41442..7ee7adc7 100644 --- a/hardware/radioshack-dmm/protocol.h +++ b/hardware/radioshack-dmm/protocol.h @@ -32,20 +32,6 @@ #define RS_DMM_BUFSIZE 256 -#define RS_22_812_PACKET_SIZE 9 - -struct rs_22_812_packet { - uint8_t mode; - uint8_t indicatrix1; - uint8_t indicatrix2; - uint8_t digit4; - uint8_t digit3; - uint8_t digit2; - uint8_t digit1; - uint8_t info; - uint8_t checksum; -}; - /* Private, per-device-instance driver context. */ struct dev_context { uint64_t limit_samples; @@ -62,6 +48,5 @@ struct dev_context { }; SR_PRIV int radioshack_dmm_receive_data(int fd, int revents, void *cb_data); -SR_PRIV gboolean rs_22_812_packet_valid(const struct rs_22_812_packet *rs_packet); #endif