mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-04 06:06:17 +00:00
d/vive: Dump JSON config on debug instead of spew
This commit is contained in:
parent
8ded6bac8b
commit
382813edd6
|
@ -890,7 +890,7 @@ vive_init_defaults(struct vive_device *d)
|
||||||
bool
|
bool
|
||||||
vive_parse_config(struct vive_device *d, char *json_string)
|
vive_parse_config(struct vive_device *d, char *json_string)
|
||||||
{
|
{
|
||||||
VIVE_SPEW(d, "JSON config:\n%s\n", json_string);
|
VIVE_DEBUG(d, "JSON config:\n%s\n", json_string);
|
||||||
|
|
||||||
cJSON *json = cJSON_Parse(json_string);
|
cJSON *json = cJSON_Parse(json_string);
|
||||||
if (!cJSON_IsObject(json)) {
|
if (!cJSON_IsObject(json)) {
|
||||||
|
|
Loading…
Reference in a new issue