ccx : Trace accelerometer only when tracing rendering

This commit is contained in:
folecr 2013-03-28 16:39:44 -07:00
parent a5f9b19c30
commit 7add86c751
1 changed files with 1 additions and 1 deletions

View File

@ -282,7 +282,7 @@ void android_main(struct android_app* state) {
ASensorEvent event;
while (ASensorEventQueue_getEvents(engine.sensorEventQueue,
&event, 1) > 0) {
LOGI("accelerometer: x=%f y=%f z=%f",
LOG_RENDER_DEBUG("accelerometer: x=%f y=%f z=%f",
event.acceleration.x, event.acceleration.y,
event.acceleration.z);
}