diff --git a/src/xrt/drivers/vive/vive_device.c b/src/xrt/drivers/vive/vive_device.c index 12504532e..5949532b6 100644 --- a/src/xrt/drivers/vive/vive_device.c +++ b/src/xrt/drivers/vive/vive_device.c @@ -447,6 +447,8 @@ vive_mainboard_read_one_msg(struct vive_device *d) return false; } + DRV_TRACE_IDENT(packet); + switch (buffer[0]) { case VIVE_MAINBOARD_STATUS_REPORT_ID: if (ret != sizeof(struct vive_mainboard_status_report)) { @@ -612,6 +614,8 @@ vive_sensors_read_one_msg(struct vive_device *d, return false; } + DRV_TRACE_IDENT(packet); + if (buffer[0] == report_id) { if (!_is_report_size_valid(d, ret, report_size, report_id)) return false; @@ -704,6 +708,8 @@ vive_sensors_read_lighthouse_msg(struct vive_device *d) return false; } + DRV_TRACE_IDENT(packet); + int expected; // size; switch (buffer[0]) {