Minor fixes

This commit is contained in:
Eiren Rain
2021-05-23 08:30:11 +03:00
parent 54ddaaffb7
commit 17f6ba7a0d
3 changed files with 3 additions and 5 deletions

View File

@@ -42,9 +42,6 @@ namespace {
}
}
unsigned long lastData = 0;
int8_t lastReset = 0;
void BNO080Sensor::motionSetup(DeviceConfig * config)
{
delay(500);

View File

@@ -57,6 +57,8 @@ class BNO080Sensor : public Sensor {
bool newData {false};
Quat sensorOffset {Quat(Vector3(0, 0, 1), PI / 2.0)};
uint8_t tap;
unsigned long lastData = 0;
int8_t lastReset = 0;
};
class BNO055Sensor : public Sensor {

View File

@@ -50,8 +50,7 @@ void check_if_exist_I2C() {
if (nDevices == 0)
Serial.println("No I2C devices found");
else
Serial.println("**********************************\n");
//delay(1000); // wait 1 seconds for next scan, did not find it necessary
Serial.println("Scan finished\n");
}
void scanPorts() {