diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2014-11-11 15:47:18 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2014-11-11 15:47:18 +0100 |
commit | 687cbe536f8f50908c0784cf5f54b4ba09055ea5 (patch) | |
tree | be707e05f0e31a644940b3a90d573db5c5f2c406 | |
parent | e28544863a991dc6c9d7bd25351096c905759c97 (diff) | |
download | hourglass-687cbe536f8f50908c0784cf5f54b4ba09055ea5.tar.gz hourglass-687cbe536f8f50908c0784cf5f54b4ba09055ea5.tar.bz2 hourglass-687cbe536f8f50908c0784cf5f54b4ba09055ea5.zip |
ui: Fix debug messages
-rw-r--r-- | ui.c | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -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 } |