mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-17 04:15:44 +00:00
xrt: Port commented printfs to u_logging.
This commit is contained in:
parent
0302a47e6f
commit
853458ed37
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue