From 953bb7912c9b8381cfbdd8ae18e972f45a021e36 Mon Sep 17 00:00:00 2001 From: zrg <674148718@qq.com> Date: Wed, 16 Mar 2022 00:54:30 +0800 Subject: [PATCH] fix --- v1/main/main.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/main/main.ino b/v1/main/main.ino index dba01e7..5394d56 100644 --- a/v1/main/main.ino +++ b/v1/main/main.ino @@ -24,7 +24,7 @@ double gyroX, gyroY, gyroZ; int16_t tempRaw; bool stable = 0; uint32_t last_unstable_time; - +uint32_t last_stable_time; double gyroZangle; // Angle calculate using the gyro only double compAngleZ; // Calculated angle using a complementary filter double kalAngleZ; // Calculated angle using a Kalman filter