diff --git a/src/lib/BlueDisplay/BlueDisplay.cpp b/src/lib/BlueDisplay/BlueDisplay.cpp index d10e908..23e6bd2 100644 --- a/src/lib/BlueDisplay/BlueDisplay.cpp +++ b/src/lib/BlueDisplay/BlueDisplay.cpp @@ -1649,7 +1649,7 @@ void BlueDisplay::testDisplay(void) { } #define COLOR_SPECTRUM_SEGMENTS 6 // red->yellow, yellow-> green, green-> cyan, cyan-> blue, blue-> magent, magenta-> red -#define COLOR_RESOLUTION 32 // 5 bit for 16 bit color (green really has 6 bit, but dont use it) +#define COLOR_RESOLUTION 32 // 5 bit for 16 bit color (green really has 6 bit, but don't use it) const uint16_t colorIncrement[COLOR_SPECTRUM_SEGMENTS] = { 1 << 6, 0x1FU << 11, 1, 0x3FFU << 6, 1 << 11, 0xFFFFU }; /** diff --git a/src/lib/EncoderMotorControl.h b/src/lib/EncoderMotorControl.h index 2095061..6c296fb 100644 --- a/src/lib/EncoderMotorControl.h +++ b/src/lib/EncoderMotorControl.h @@ -175,7 +175,7 @@ class EncoderMotorControl { uint16_t LastRideDistanceCount; /* - * Distance optocoupler impulse counter. is reseted at initGoDistanceCount if motor was stopped. + * Distance optocoupler impulse counter. is reset at initGoDistanceCount if motor was stopped. */ volatile uint16_t DistanceCount; // used for debouncing and lock/timeout detection diff --git a/src/lib/utility/Adafruit_MS_PWMServoDriver.cpp b/src/lib/utility/Adafruit_MS_PWMServoDriver.cpp index 1763209..1015514 100644 --- a/src/lib/utility/Adafruit_MS_PWMServoDriver.cpp +++ b/src/lib/utility/Adafruit_MS_PWMServoDriver.cpp @@ -5,7 +5,7 @@ ------> http://www.adafruit.com/products/815 These displays use I2C to communicate, 2 pins are required to - interface. For Arduino UNOs, thats SCL -> Analog 5, SDA -> Analog 4 + interface. For Arduino UNOs, that's SCL -> Analog 5, SDA -> Analog 4 Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing diff --git a/src/lib/utility/Adafruit_MS_PWMServoDriver.h b/src/lib/utility/Adafruit_MS_PWMServoDriver.h index 359e8e1..0023d69 100644 --- a/src/lib/utility/Adafruit_MS_PWMServoDriver.h +++ b/src/lib/utility/Adafruit_MS_PWMServoDriver.h @@ -5,7 +5,7 @@ ------> http://www.adafruit.com/products/815 These displays use I2C to communicate, 2 pins are required to - interface. For Arduino UNOs, thats SCL -> Analog 5, SDA -> Analog 4 + interface. For Arduino UNOs, that's SCL -> Analog 5, SDA -> Analog 4 Adafruit invests time and resources providing this open source code, please support Adafruit and open-source hardware by purchasing diff --git a/src/lib/utility/twi.c b/src/lib/utility/twi.c index 7efcc5a..ddb74ac 100644 --- a/src/lib/utility/twi.c +++ b/src/lib/utility/twi.c @@ -143,7 +143,7 @@ uint8_t twi_readFrom(uint8_t address, uint8_t* data, uint8_t length, uint8_t sen } twi_state = TWI_MRX; twi_sendStop = sendStop; - // reset error state (0xFF.. no error occured) + // reset error state (0xFF.. no error occurred) twi_error = 0xFF; // initialize buffer iteration vars @@ -222,7 +222,7 @@ uint8_t twi_writeTo(uint8_t address, uint8_t* data, uint8_t length, uint8_t wait } twi_state = TWI_MTX; twi_sendStop = sendStop; - // reset error state (0xFF.. no error occured) + // reset error state (0xFF.. no error occurred) twi_error = 0xFF; // initialize buffer iteration vars @@ -247,7 +247,7 @@ uint8_t twi_writeTo(uint8_t address, uint8_t* data, uint8_t length, uint8_t wait // We need to remove ourselves from the repeated start state before we enable interrupts, // since the ISR is ASYNC, and we could get confused if we hit the ISR before cleaning // up. Also, don't enable the START interrupt. There may be one pending from the - // repeated start that we sent outselves, and that would really confuse things. + // repeated start that we sent ourselves, and that would really confuse things. twi_inRepStart = false; // remember, we're dealing with an ASYNC ISR do { TWDR = twi_slarw; @@ -355,7 +355,7 @@ void twi_stop(void) // send stop condition TWCR = _BV(TWEN) | _BV(TWIE) | _BV(TWEA) | _BV(TWINT) | _BV(TWSTO); - // wait for stop condition to be exectued on bus + // wait for stop condition to be executed on bus // TWINT is not set after a stop condition! while(TWCR & _BV(TWSTO)){ continue;