From b442ffba40cef5fa5a5e1bd6c13b5e30b06b28e2 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Tue, 27 May 2014 15:48:57 +0200 Subject: Fix compiler warnings --- gyro.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gyro.c') diff --git a/gyro.c b/gyro.c index 0333e86..b9cba41 100644 --- a/gyro.c +++ b/gyro.c @@ -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; } -- cgit v1.2.3