X-Git-Url: https://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Fappa-55ii%2Fprotocol.c;h=fabd2556678480bdbd3177e98f4929741eefb826;hb=52f6951c4e15900d4c617d886d8f8298706c9684;hp=161861fef72c7e824a0aa67bb305b5fc01855d9a;hpb=76b4d4f422060718673da16fee6ab054d505ab7d;p=libsigrok.git diff --git a/hardware/appa-55ii/protocol.c b/hardware/appa-55ii/protocol.c index 161861fe..fabd2556 100644 --- a/hardware/appa-55ii/protocol.c +++ b/hardware/appa-55ii/protocol.c @@ -27,7 +27,7 @@ typedef enum { LOG_DATA = 0x14, LOG_START = 0x18, LOG_END = 0x19, -} packet_type_t; +} packet_type; static gboolean appa_55ii_checksum(const uint8_t *buf) { @@ -237,7 +237,7 @@ static const uint8_t *appa_55ii_parse_data(struct sr_dev_inst *sdi, /* Skip broken packet. */ return buf + 4 + buf[3] + 1; - switch ((packet_type_t)buf[2]) { + switch ((packet_type)buf[2]) { case LIVE_DATA: appa_55ii_live_data(sdi, buf); break;