Merge pull request #97 from ButterscotchV/main

Fix spelling mistakes
This commit is contained in:
Eiren Rain
2022-02-09 21:10:49 +02:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -35,7 +35,7 @@
#error Internal ADC enabled without pin! Please select a pin.
#endif
// Wemos D1 Mini has an internal Voltage Divider with R1=220K and R2=100K > this means, 3.3V analogRead input voltage results in 1023.0
// Wemos D1 Mini with Wemos BatteryShiled v1.2.0 or higher: BatteryShield with J2 closed, has an additional 130K resistor. So the resulting Voltage Divider is R1=220K+100K=320K and R2=100K > this means, 4.5V analogRead input voltage results in 1023.0
// Wemos D1 Mini with Wemos Battery Shield v1.2.0 or higher: Battery Shield with J2 closed, has an additional 130K resistor. So the resulting Voltage Divider is R1=220K+100K=320K and R2=100K > this means, 4.5V analogRead input voltage results in 1023.0
// SlimeVR Board can handle max 5V > so analogRead of 5.0V input will result in 1023.0
#define batteryADCMultiplier 1.0 / 1023.0 * (320 + BATTERY_SHIELD_RESISTANCE) / 100
#elif BATTERY_MONITOR == BAT_MCP3021 || BATTERY_MONITOR == BAT_INTERNAL_MCP3021

View File

@@ -30,7 +30,7 @@
#define LOAD_BIAS 1 // Loads the bias values from NVS on start (ESP32 Only)
#define SAVE_BIAS 1 // Periodically saves bias calibration data to NVS (ESP32 Only)
#define BIAS_DEBUG false // Printing BIAS Variables to serial (ICM20948 only)
#define ENABLE_TAP false // monitor accel for (tripple) tap events and send them. Uses more cpu, disable if problems. Server does nothing with value so disabled atm
#define ENABLE_TAP false // monitor accel for (triple) tap events and send them. Uses more cpu, disable if problems. Server does nothing with value so disabled atm
//Debug information
//#define FULL_DEBUG

View File

@@ -58,7 +58,7 @@ void setup()
Serial.println();
Serial.println();
#if IMU == IMU_MPU6500 || IMU == IMU_MPU6050 || IMU == IMU_MPU9250
I2CSCAN::clearBus(PIN_IMU_SDA, PIN_IMU_SCL); // Make sure the bus isn't suck when reseting ESP without powering it down
I2CSCAN::clearBus(PIN_IMU_SDA, PIN_IMU_SCL); // Make sure the bus isn't stuck when resetting ESP without powering it down
// Do it only for MPU, cause reaction of BNO to this is not investigated yet
#endif
// join I2C bus

View File

@@ -556,7 +556,7 @@ void ICM20948Sensor::startCalibration(int calibrationType) {
#endif
}
//You need to override the libary's initializeDMP to change some settings
//You need to override the library's initializeDMP to change some settings
#if OVERRIDEDMPSETUP
// initializeDMP is a weak function. Let's overwrite it so we can increase the sample rate
ICM_20948_Status_e ICM_20948::initializeDMP(void)