aboutsummaryrefslogtreecommitdiff
path: root/gyro.c
diff options
context:
space:
mode:
Diffstat (limited to 'gyro.c')
-rw-r--r--gyro.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gyro.c b/gyro.c
index a373d29..d6a8b48 100644
--- a/gyro.c
+++ b/gyro.c
@@ -33,12 +33,12 @@
sleep_disable ();
/* the first interrupt is lost */
-volatile bool drdy = true;
-volatile int16_t val[3] = {0, 0, 0};
+static volatile bool drdy = true;
+static volatile int16_t val[3] = {0, 0, 0};
/* current (relative) angle, in millidegree */
-int16_t angle[3] = {0, 0, 0};
+static int16_t angle[3] = {0, 0, 0};
/* currently reading from i2c */
-bool reading = false;
+static bool reading = false;
/* data ready interrupt
*/