Skip to content

Commit d06d9b2

Browse files
authored
Merge pull request #149 from earlephilhower/spell
Fix minor misspellings in comments
2 parents 438172b + a98cc46 commit d06d9b2

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

Diff for: api/Common.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ int atexit(void (*func)()) __attribute__((weak));
8585
int main() __attribute__((weak));
8686

8787
#ifdef EXTENDED_PIN_MODE
88-
// Platforms who wnat to declare more than 256 pins need to define EXTENDED_PIN_MODE globally
88+
// Platforms who want to declare more than 256 pins need to define EXTENDED_PIN_MODE globally
8989
typedef uint32_t pin_size_t;
9090
#else
9191
typedef uint8_t pin_size_t;

Diff for: api/HardwareSPI.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class HardwareSPI
124124
virtual void end() = 0;
125125
};
126126

127-
// Alias SPIClass to HardwareSPI since it's already the defacto standard for SPI classe name
127+
// Alias SPIClass to HardwareSPI since it's already the defacto standard for SPI class name
128128
typedef HardwareSPI SPIClass;
129129

130130
}

Diff for: api/IPAddress.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include "Printable.h"
2424
#include "String.h"
2525

26-
// forward declartions of global name space friend classes
26+
// forward declarations of global name space friend classes
2727
class EthernetClass;
2828
class DhcpClass;
2929
class DNSClient;

Diff for: api/Print.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Print
5757
}
5858

5959
// default to zero, meaning "a single write may block"
60-
// should be overriden by subclasses with buffering
60+
// should be overridden by subclasses with buffering
6161
virtual int availableForWrite() { return 0; }
6262

6363
size_t print(const __FlashStringHelper *);

Diff for: api/Stream.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <inttypes.h>
2525
#include "Print.h"
2626

27-
// compatability macros for testing
27+
// compatibility macros for testing
2828
/*
2929
#define getInt() parseInt()
3030
#define getInt(ignore) parseInt(ignore)

Diff for: api/String.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class String
106106

107107
// returns true on success, false on failure (in which case, the string
108108
// is left unchanged). if the argument is null or invalid, the
109-
// concatenation is considered unsucessful.
109+
// concatenation is considered unsuccessful.
110110
bool concat(const String &str);
111111
bool concat(const char *cstr);
112112
bool concat(const char *cstr, unsigned int length);
@@ -179,7 +179,7 @@ class String
179179
bool startsWith(const String &prefix, unsigned int offset) const;
180180
bool endsWith(const String &suffix) const;
181181

182-
// character acccess
182+
// character access
183183
char charAt(unsigned int index) const;
184184
void setCharAt(unsigned int index, char c);
185185
char operator [] (unsigned int index) const;

0 commit comments

Comments
 (0)