The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/wmr: Ignore all other packets when reading config

Any other WMR packets can arrive while we're reading the
config block - ignore all of them, not just a few. Fixes
config reading failures.

authored by

Jan Schmidt and committed by
Jakob Bornecrantz
e18288cc a14d6f1c

+1 -3
+1 -3
src/xrt/drivers/wmr/wmr_hmd.c
··· 433 433 if (buf[0] == WMR_MS_HOLOLENS_MSG_CONTROL) { 434 434 return size; 435 435 } 436 - } while (buf[0] == WMR_MS_HOLOLENS_MSG_SENSORS || // 437 - buf[0] == WMR_MS_HOLOLENS_MSG_DEBUG || // 438 - buf[0] == WMR_MS_HOLOLENS_MSG_UNKNOWN_17); 436 + } while (true); 439 437 440 438 return -1; 441 439 }