Skip to content

vive: Port to u_logging.

Lubosz Sarnecki requested to merge lubosz/monado:vive-logging into master

The patch set ports the vive driver to the new u_logging API. It uses the same log level in the controller as in the headset, which can be now specified with VIVE_LOG. Log levels for messages were adjusted and usage of \n and printf was removed. There are still some byte prints left that use printf in a loop which can occur on some errors and debugging in the controller driver, that needs to be enabled by hardcoding a define.

In addition I propose a patch that puts the error level first in the output, so messages can be in line, which is easier for the eyes. I also propose putting the [function_names] in brackets for a nicer separation.

Merge request reports