diff --git a/src/gyro.cpp b/src/gyro.cpp index 9ff733c..2c08b5b 100644 --- a/src/gyro.cpp +++ b/src/gyro.cpp @@ -38,7 +38,7 @@ bool GyroSensor::setup() { pinMode(PIN_GND, OUTPUT_OPEN_DRAIN); digitalWrite(PIN_VCC, HIGH); digitalWrite(PIN_GND, LOW); - delay(10); // Wait for the pins to settle or we will fail to connect + delay(10); // Wait for the pins to settle or we will fail to connect #else #endif /* For testing pin config of new boards with led. @@ -60,7 +60,7 @@ bool GyroSensor::setup() { Log.verbose(F("GYRO: Setting up hardware." CR)); #endif Wire.begin(PIN_SDA, PIN_SCL); - Wire.setClock(clock); // 400kHz I2C clock. + Wire.setClock(clock); // 400kHz I2C clock. uint8_t id = accelgyro.getDeviceID(); diff --git a/src/main.hpp b/src/main.hpp index 46d1f36..36ba4c1 100644 --- a/src/main.hpp +++ b/src/main.hpp @@ -38,7 +38,7 @@ enum RunMode { extern RunMode runMode; #if defined(ESP8266) -// Hardware config for ESP8266-d1, iSpindel hardware +// Hardware config for ESP8266-d1, iSpindel hardware // ------------------------------------------------------ #include #define ESP_RESET ESP.reset @@ -48,7 +48,7 @@ extern RunMode runMode; #define PIN_LED 2 // #define PIN_A0 A0 #elif defined(ESP32C3) -// Hardware config for ESP32-c3-mini, iSpindel hardware +// Hardware config for ESP32-c3-mini, iSpindel hardware // ------------------------------------------------------ #include #include @@ -71,7 +71,7 @@ extern RunMode runMode; // cannot use both. So we point LED to pin 8 which is not used. #define PIN_LED 8 #elif defined(ESP32S2) -// Hardware config for ESP32-s2-mini, iSpindel hardware +// Hardware config for ESP32-s2-mini, iSpindel hardware // ------------------------------------------------------ #include #include @@ -86,7 +86,7 @@ extern RunMode runMode; #define PIN_A0 A2 #define PIN_LED LED_BUILTIN #elif defined(ESP32LITE) -// Hardware config for ESP32-lite, Floaty hardware +// Hardware config for ESP32-lite, Floaty hardware // ------------------------------------------------------ #include #include @@ -103,7 +103,7 @@ extern RunMode runMode; #define PIN_GND A18 #define PIN_LED LED_BUILTIN #else // defined (ESP32) -// Hardware config for ESP32-d1-min, iSpindel hardware +// Hardware config for ESP32-d1-min, iSpindel hardware // ------------------------------------------------------ #include #include