From 2ad634bd1e1ca04f79f39142f79d6a06028fb68b Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Thu, 20 Jan 2022 16:07:27 +0100 Subject: [PATCH] d/wmr: print json config on debug log level --- src/xrt/drivers/wmr/wmr_hmd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xrt/drivers/wmr/wmr_hmd.c b/src/xrt/drivers/wmr/wmr_hmd.c index 7c01c4c1d..fd78e6081 100644 --- a/src/xrt/drivers/wmr/wmr_hmd.c +++ b/src/xrt/drivers/wmr/wmr_hmd.c @@ -712,6 +712,8 @@ wmr_read_config(struct wmr_hmd *wh) config_json_block[i] ^= wmr_config_key[i % sizeof(wmr_config_key)]; } + WMR_DEBUG(wh, "JSON config:\n%s", config_json_block); + if (!wmr_hmd_config_parse(&wh->config, (char *)config_json_block, wh->log_level)) { free(data); return -1;