precommit fixes
This commit is contained in:
parent
e2fee1fb35
commit
66c6c44a38
@ -45,7 +45,7 @@ bool GyroSensor::setup() {
|
||||
|
||||
uint8_t id = accelgyro.getDeviceID();
|
||||
|
||||
if (id != 0x34 && id != 0x38) { // Allow both MPU6050 and MPU6000
|
||||
if (id != 0x34 && id != 0x38) { // Allow both MPU6050 and MPU6000
|
||||
ErrorFileLog errLog;
|
||||
errLog.addEntry(F("GYRO: Failed to connect to gyro, is it connected?"));
|
||||
_sensorConnected = false;
|
||||
|
@ -377,7 +377,7 @@ void goToSleep(int sleepInterval) {
|
||||
void loop() {
|
||||
switch (runMode) {
|
||||
case RunMode::storageMode:
|
||||
// This point is never reached, just here to remove warning.
|
||||
// This point is never reached, just here to remove warning.
|
||||
break;
|
||||
|
||||
case RunMode::configurationMode:
|
||||
|
@ -29,7 +29,12 @@ SOFTWARE.
|
||||
#include <ArduinoLog.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
enum RunMode { gravityMode = 0, configurationMode = 1, wifiSetupMode = 2, storageMode = 3 };
|
||||
enum RunMode {
|
||||
gravityMode = 0,
|
||||
configurationMode = 1,
|
||||
wifiSetupMode = 2,
|
||||
storageMode = 3
|
||||
};
|
||||
extern RunMode runMode;
|
||||
|
||||
#if defined(ESP8266)
|
||||
|
Loading…
Reference in New Issue
Block a user