Skip to content

Fix minor misspellings in comments #149

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

Merged
merged 1 commit into from
May 31, 2021
Merged
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 api/Common.h
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ int atexit(void (*func)()) __attribute__((weak));
int main() __attribute__((weak));

#ifdef EXTENDED_PIN_MODE
// Platforms who wnat to declare more than 256 pins need to define EXTENDED_PIN_MODE globally
// Platforms who want to declare more than 256 pins need to define EXTENDED_PIN_MODE globally
typedef uint32_t pin_size_t;
#else
typedef uint8_t pin_size_t;
Expand Down
2 changes: 1 addition & 1 deletion api/HardwareSPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class HardwareSPI
virtual void end() = 0;
};

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

}
2 changes: 1 addition & 1 deletion api/IPAddress.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "Printable.h"
#include "String.h"

// forward declartions of global name space friend classes
// forward declarations of global name space friend classes
class EthernetClass;
class DhcpClass;
class DNSClient;
Expand Down
2 changes: 1 addition & 1 deletion api/Print.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Print
}

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

size_t print(const __FlashStringHelper *);
Expand Down
2 changes: 1 addition & 1 deletion api/Stream.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#include <inttypes.h>
#include "Print.h"

// compatability macros for testing
// compatibility macros for testing
/*
#define getInt() parseInt()
#define getInt(ignore) parseInt(ignore)
Expand Down
4 changes: 2 additions & 2 deletions api/String.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class String

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

// character acccess
// character access
char charAt(unsigned int index) const;
void setCharAt(unsigned int index, char c);
char operator [] (unsigned int index) const;
Expand Down