d/wmr: print json config on debug log level

This commit is contained in:
Christoph Haag 2022-01-20 16:07:27 +01:00 committed by Jakob Bornecrantz
parent 6e339014a5
commit 2ad634bd1e

View file

@ -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;