#include <stdio.h>
#include <string.h>
-#include <scheduler.h>
#include <timer.h>
#include <aversive/wait.h>
+#include <aversive/pgmspace.h>
+
#include <uart.h>
#include <i2c.h>
s_gx = s_gy = s_gz = 0;
for (i = 0; i < 0x100; i ++) {
- mpu6050_read_gyro_raw(&g_values);
+ mpu6050_read_gyro_raw(g_values);
s_gx += g_values[0];
s_gy += g_values[1];
s_gz += g_values[2];