diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2014-05-27 15:48:57 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2014-05-27 15:48:57 +0200 |
commit | b442ffba40cef5fa5a5e1bd6c13b5e30b06b28e2 (patch) | |
tree | 6631ffc3a28b4e77f3e242f9104ad75290eb41e3 /gyro.c | |
parent | d8092ae891d96da4bf6daac37a6588150e6a724e (diff) | |
download | hourglass-b442ffba40cef5fa5a5e1bd6c13b5e30b06b28e2.tar.gz hourglass-b442ffba40cef5fa5a5e1bd6c13b5e30b06b28e2.tar.bz2 hourglass-b442ffba40cef5fa5a5e1bd6c13b5e30b06b28e2.zip |
Fix compiler warnings
Diffstat (limited to 'gyro.c')
-rw-r--r-- | gyro.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -111,7 +111,7 @@ bool gyroProcess () { return false; } -const int32_t gyroGetZAccum () { +int32_t gyroGetZAccum () { return zaccum; } @@ -119,11 +119,11 @@ void gyroResetZAccum () { zaccum = 0; } -volatile const int16_t gyroGetZRaw () { +int16_t gyroGetZRaw () { return zval; } -const int8_t gyroGetZTicks () { +int8_t gyroGetZTicks () { return zticks; } |