d/wmr: Add log level to variable tracking

This commit is contained in:
Jakob Bornecrantz 2021-11-20 13:54:46 +00:00
parent 4329b755a9
commit 1441453d5f

View file

@ -255,6 +255,7 @@ wmr_camera_open(struct xrt_prober_device *dev_holo, enum u_logging_level ll)
u_sink_debug_init(&cam->debug_sinks[0]);
u_sink_debug_init(&cam->debug_sinks[1]);
u_var_add_root(cam, "WMR Camera", true);
u_var_add_log_level(cam, &cam->log_level, "Log level");
u_var_add_sink_debug(cam, &cam->debug_sinks[0], "SLAM");
u_var_add_sink_debug(cam, &cam->debug_sinks[1], "Controllers");