Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find and fix of typos/misspellings #1

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/lib/BlueDisplay/BlueDisplay.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 };

/**
Expand Down
2 changes: 1 addition & 1 deletion src/lib/EncoderMotorControl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/lib/utility/Adafruit_MS_PWMServoDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/lib/utility/Adafruit_MS_PWMServoDriver.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions src/lib/utility/twi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand Down