mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
d/wmr: print json config on debug log level
This commit is contained in:
parent
6e339014a5
commit
2ad634bd1e
|
@ -712,6 +712,8 @@ wmr_read_config(struct wmr_hmd *wh)
|
||||||
config_json_block[i] ^= wmr_config_key[i % sizeof(wmr_config_key)];
|
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)) {
|
if (!wmr_hmd_config_parse(&wh->config, (char *)config_json_block, wh->log_level)) {
|
||||||
free(data);
|
free(data);
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in a new issue