Skip to content

Commit 312d39e

Browse files
scopcrankyoldgit
authored andcommitted
Spelling fixes (#271)
1 parent 839ad50 commit 312d39e

File tree

7 files changed

+8
-8
lines changed

7 files changed

+8
-8
lines changed

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Provide more context by answering these questions:
5353

5454
* **Can you reproduce the problem in one of the code examples?**
5555
* **Did the problem start happening recently** (e.g. after updating to a new version of Arduino or the library) or was this always a problem?
56-
* If the problem started happening recently, **can you reproduce the problem in an older version of the libary?** What's the most recent version in which the problem doesn't happen? You can download older versions of the library from [the releases page](https://github.com/markszabo/IRremoteESP8266/releases).
56+
* If the problem started happening recently, **can you reproduce the problem in an older version of the library?** What's the most recent version in which the problem doesn't happen? You can download older versions of the library from [the releases page](https://github.com/markszabo/IRremoteESP8266/releases).
5757
* **Can you reliably reproduce the issue?** If not, provide details about how often the problem happens and under which conditions it normally happens.
5858

5959
Include details about your configuration, circuit and environment:

src/IRrecv.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ bool IRrecv::decode(decode_results *results, irparams_t *save) {
234234
return true;
235235
#endif
236236
#if DECODE_DENON
237-
// Denon needs to preceed Panasonic as it is a special case of Panasonic.
237+
// Denon needs to precede Panasonic as it is a special case of Panasonic.
238238
#ifdef DEBUG
239239
DPRINTLN("Attempting Denon decode");
240240
#endif

src/IRsend.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ void IRsend::calibrate(uint16_t hz) {
180180
IRtimer usecTimer = IRtimer(); // Start a timer *just* before we do the call.
181181
uint16_t pulses = mark(UINT16_MAX); // Generate a PWM of 65,535 us. (Max.)
182182
uint32_t timeTaken = usecTimer.elapsed(); // Record the time it took.
183-
// While it shouldn't be neccesary, assume at least 1 pulse, to avoid a
183+
// While it shouldn't be necessary, assume at least 1 pulse, to avoid a
184184
// divide by 0 situation.
185185
pulses = std::max(pulses, (uint16_t) 1U);
186186
uint32_t calcPeriod = calcUSecPeriod(hz); // e.g. @38kHz it should be 26us.

src/ir_Dish.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// D D I S H H
1212
// DDDD IIIII SSSS H H
1313

14-
// DISH support orginally by Todd Treece
14+
// DISH support originally by Todd Treece
1515
// http://unionbridge.org/design/ircommand
1616

1717
// Constants

src/ir_Pronto.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
// Status: ALPHA / Not tested in the real world.
3030
//
3131
// Note:
32-
// Pronto codes are typically represented in hexidecimal.
32+
// Pronto codes are typically represented in hexadecimal.
3333
// You will need to convert the code to an array of integers, and calculate
3434
// it's length.
3535
// e.g.

src/ir_Sanyo.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ uint64_t IRsend::encodeSanyoLC7461(uint16_t address, uint8_t command) {
9999
// https://github.com/marcosamarinho/IRremoteESP8266/blob/master/ir_Sanyo.cpp
100100
// http://pdf.datasheetcatalog.com/datasheet/sanyo/LC7461.pdf
101101
void IRsend::sendSanyoLC7461(uint64_t data, uint16_t nbits, uint16_t repeat) {
102-
// This protocol appears to be another 42-bit varient of the NEC protcol.
102+
// This protocol appears to be another 42-bit variant of the NEC protcol.
103103
sendNEC(data, nbits, repeat);
104104
}
105105
#endif // SEND_SANYO
@@ -130,7 +130,7 @@ bool IRrecv::decodeSanyoLC7461(decode_results *results, uint16_t nbits,
130130
bool strict) {
131131
if (strict && nbits != SANYO_LC7461_BITS)
132132
return false; // Not strictly in spec.
133-
// This protocol is basically a 42-bit varient of the NEC protocol.
133+
// This protocol is basically a 42-bit variant of the NEC protocol.
134134
if (!decodeNEC(results, nbits, false))
135135
return false; // Didn't match a NEC format (without strict)
136136

test/ir_RCMM_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ TEST(TestDecodeRCMM, DecodeWithoutStrict) {
153153
EXPECT_EQ(0x0, irsend.capture.address);
154154
EXPECT_EQ(0x0, irsend.capture.command);
155155

156-
// Illiegal RCMM 36-bit message.
156+
// Illegal RCMM 36-bit message.
157157
irsend.reset();
158158
irsend.sendRCMM(0x123456789, 36);
159159
irsend.makeDecodeResult();

0 commit comments

Comments
 (0)