Fixed crash bug in gyro.cpp

This commit is contained in:
Magnus Persson
2022-01-13 09:08:53 +01:00
parent adc21b5527
commit 5b6ce7d672
2 changed files with 3 additions and 3 deletions

View File

@ -50,7 +50,6 @@ struct RawGyroDataL { // Used for average multiple readings
class GyroSensor {
private:
MPU6050 accelgyro;
bool sensorConnected = false;
bool validValue = false;
float angle = 0;