d/vive: Silence warnings from when the camera is running

This commit is contained in:
Jakob Bornecrantz 2021-09-01 21:53:08 +01:00
parent 91db53572b
commit 407461fd4f

View file

@ -496,6 +496,16 @@ _decode_pulse_report(struct vive_device *d, const void *buffer)
continue;
}
if (sensor_id == 0xfd) {
/* TODO: handle camera sync timestamp */
continue;
}
if (sensor_id == 0xfb) {
/* TODO: Only turns on when the camera is running but not every frame. */
continue;
}
if (sensor_id > 31) {
VIVE_ERROR(d, "Unexpected sensor id: %04x\n", sensor_id);
return;