add ertm14_get_fpga_info opcode to protocol

parent 93de0ff2
......@@ -18,6 +18,7 @@
#define ertm14_ptp_enable 0x19
#define ertm14_get_sensors 0x20
#define ertm14_get_version_info 0x21
#define ertm14_get_fpga_info 0x22
static struct ertm14_protocol_op {
int8_t opcode;
......@@ -61,6 +62,13 @@ static struct ertm14_protocol_op {
.offset2 = 0,
.length2 = sizeof(struct ertm14_version_info),
},
{
.opcode = ertm14_get_fpga_info,
.offset1 = 1,
.length1 = 0,
.offset2 = 0,
.length2 = sizeof(struct ertm14_device_metadata),
},
{
.opcode = ertm14_get_sensors,
.offset1 = 1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment