Commit 2b70189b authored by Christoph Haag's avatar Christoph Haag
Browse files

d/wmr: log at least one space in trace log

Fixes warnings

../src/xrt/drivers/wmr/wmr_hmd.c:83:16: warning: zero-length gnu_printf format string [-Wformat-zero-length]
   83 |  WMR_TRACE(wh, "");
      |                ^~
parent 2d408384
Pipeline #19183 failed
......@@ -80,7 +80,7 @@ hololens_sensors_decode_packet(struct wmr_hmd *wh,
const unsigned char *buffer,
int size)
{
WMR_TRACE(wh, "");
WMR_TRACE(wh, " ");
if (size != 497 && size != 381) {
WMR_ERROR(wh, "invalid hololens sensor packet size (expected 381 or 497 but got %d)", size);
......@@ -122,7 +122,7 @@ hololens_sensors_decode_packet(struct wmr_hmd *wh,
static bool
hololens_sensors_read_packets(struct wmr_hmd *wh)
{
WMR_TRACE(wh, "");
WMR_TRACE(wh, " ");
unsigned char buffer[WMR_FEATURE_BUFFER_SIZE];
......
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