mirror of
https://github.com/SlimeVR/SlimeVR-Tracker-ESP.git
synced 2026-04-06 02:01:57 +02:00
Minor fixes
This commit is contained in:
@@ -42,9 +42,6 @@ namespace {
|
||||
}
|
||||
}
|
||||
|
||||
unsigned long lastData = 0;
|
||||
int8_t lastReset = 0;
|
||||
|
||||
void BNO080Sensor::motionSetup(DeviceConfig * config)
|
||||
{
|
||||
delay(500);
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user