diff --git a/src/xrt/auxiliary/util/u_var.h b/src/xrt/auxiliary/util/u_var.h index e80690fe5..0bce29b4b 100644 --- a/src/xrt/auxiliary/util/u_var.h +++ b/src/xrt/auxiliary/util/u_var.h @@ -132,8 +132,7 @@ typedef void (*u_var_elm_cb)(struct u_var_info *info, void *); * // On create * u_var_add_root((void*)psmv, "PS Move Controller", true); * u_var_add_rgb_u8((void*)psmv, &psmv->led_color, "LED"); - * u_var_add_bool((void*)psmv, &psmv->print_spew, "Spew"); - * u_var_add_bool((void*)psmv, &psmv->print_debug, "Debug"); + * u_var_add_log_level(psmv, &psmv->log_level, "Log level"); * * // On destroy, only need to destroy the root object. * u_var_remove_root((void*)psmv); diff --git a/src/xrt/drivers/north_star/distortion/utility_northstar.h b/src/xrt/drivers/north_star/distortion/utility_northstar.h index 7b6d58d75..4cbb34813 100644 --- a/src/xrt/drivers/north_star/distortion/utility_northstar.h +++ b/src/xrt/drivers/north_star/distortion/utility_northstar.h @@ -1197,7 +1197,7 @@ public: // z *= +1.0f; // } // else { - // //printf("coding error\n"); + // //U_LOG_E("coding error"); // } // float r = NORM(w, x, w, z); // w /= r; diff --git a/src/xrt/drivers/psvr/psvr_device.c b/src/xrt/drivers/psvr/psvr_device.c index dfd679bfd..da003cd02 100644 --- a/src/xrt/drivers/psvr/psvr_device.c +++ b/src/xrt/drivers/psvr/psvr_device.c @@ -646,7 +646,7 @@ read_calibration_data(struct psvr_device *psvr) int *data = (int*)&psvr->calibration.data[0]; for (size_t i = 0; i < (sizeof(psvr->calibration.data) / 4); i++) { int v = data[i]; - fprintf(stderr, "%i %f\n", v, *(float*)&v); + U_LOG_E("%i %f", v, *(float*)&v); } #endif