aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/ui.c b/ui.c
index 408724f..8e22505 100644
--- a/ui.c
+++ b/ui.c
@@ -394,13 +394,10 @@ void uiLoop () {
#if 0
printf ("t=%i, h=%i, s=%i\n", gyroGetZTicks (), accelGetHorizon (),
accelGetShakeCount ());
- volatile const int32_t *gyroval = gyroGetAccum ();
- volatile const int16_t *gyroraw = gyroGetRaw ();
- volatile const int8_t *accelval = accelGet ();
- printf ("%li/%li/%li - %i/%i/%i - %i/%i/%i\n",
- gyroval[0], gyroval[1], gyroval[2],
- gyroraw[0], gyroraw[1], gyroraw[2],
- accelval[1], accelval[3], accelval[5]);
+ const int32_t gyroval = gyroGetZAccum ();
+ const int16_t gyroraw = gyroGetZRaw ();
+ const int8_t accelval = accelGetZ ();
+ printf ("%li - %i - %i\n", gyroval, gyroraw, accelval);
#endif
}