Skip to content

Commit c9a7509

Browse files
committed
fix: typos raised by new codespell version
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent d328b4f commit c9a7509

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

libraries/CMSIS_DSP/examples/arm_sin_cos_example_f32/arm_sin_cos_example_f32.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@
4747
4848
\par Description:
4949
\par
50-
Demonstrates the Pythagorean trignometric identity with the use of Cosine, Sine, Vector
50+
Demonstrates the Pythagorean trigonometric identity with the use of Cosine, Sine, Vector
5151
Multiplication, and Vector Addition functions.
5252
5353
\par Algorithm:
5454
\par
55-
Mathematically, the Pythagorean trignometric identity is defined by the following equation:
55+
Mathematically, the Pythagorean trigonometric identity is defined by the following equation:
5656
<pre>sin(x) * sin(x) + cos(x) * cos(x) = 1</pre>
5757
where \c x is the angle in radians.
5858

libraries/SoftwareSerial/src/SoftwareSerial.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ inline void SoftwareSerial::recv()
283283
if (inbit) {
284284
rx_buffer |= 0x80;
285285
}
286-
rx_bit_cnt++; // Preprare for next bit
286+
rx_bit_cnt++; // Prepare for next bit
287287
rx_tick_cnt = OVERSAMPLE; // Wait OVERSAMPLE ticks before sampling next bit
288288
}
289289
}

libraries/SrcWrapper/src/stm32/uart.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ extern "C" {
3636
#define DEBUG_UART_BAUDRATE 9600
3737
#endif
3838

39-
/* @brief uart caracteristics */
39+
/* @brief uart characteristics */
4040
typedef enum {
4141
#if defined(USART1_BASE)
4242
UART1_INDEX,

libraries/Wire/examples/i2c_scanner/i2c_scanner.ino

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
// can be found in many places.
77
// For example on the Arduino.cc forum.
88
// The original author is not know.
9-
// Version 2, Juni 2012, Using Arduino 1.0.1
9+
// Version 2, Jun 2012, Using Arduino 1.0.1
1010
// Adapted to be as simple as possible by Arduino.cc user Krodal
1111
// Version 3, Feb 26 2013
1212
// V3 by louarnold
@@ -47,7 +47,7 @@
4747
If you want to use the two I2Cs simultaneously, create a new instance for the second I2C
4848
TwoWire Wire2(PB11,PB10);
4949
Wire2.begin();
50-
50+
5151
*/
5252

5353

@@ -76,21 +76,21 @@ void loop() {
7676

7777
Wire.beginTransmission(address);
7878
error = Wire.endTransmission();
79-
79+
8080
if (error == 0) {
8181
Serial.print("I2C device found at address 0x");
82-
if (address < 16)
82+
if (address < 16)
8383
Serial.print("0");
8484
Serial.println(address, HEX);
8585

8686
nDevices++;
8787
}
8888
else if (error == 4) {
8989
Serial.print("Unknown error at address 0x");
90-
if (address < 16)
90+
if (address < 16)
9191
Serial.print("0");
9292
Serial.println(address, HEX);
93-
}
93+
}
9494
}
9595
if (nDevices == 0)
9696
Serial.println("No I2C devices found");

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy