Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita98cc46

Browse files
Fix minor misspellings in comments
Codespell detected a few minor typos in the API headers. Fix their spelling.
1 parent438172b commita98cc46

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

‎api/Common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ int atexit(void (*func)()) __attribute__((weak));
8585
intmain() __attribute__((weak));
8686

8787
#ifdef EXTENDED_PIN_MODE
88-
// Platforms whownat to declare more than 256 pins need to define EXTENDED_PIN_MODE globally
88+
// Platforms whowant to declare more than 256 pins need to define EXTENDED_PIN_MODE globally
8989
typedefuint32_tpin_size_t;
9090
#else
9191
typedefuint8_tpin_size_t;

‎api/HardwareSPI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class HardwareSPI
124124
virtualvoidend() = 0;
125125
};
126126

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

130130
}

‎api/IPAddress.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
#include"Printable.h"
2424
#include"String.h"
2525

26-
// forwarddeclartions of global name space friend classes
26+
// forwarddeclarations of global name space friend classes
2727
classEthernetClass;
2828
classDhcpClass;
2929
classDNSClient;

‎api/Print.h

Lines changed: 1 addition & 1 deletion
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 beoverriden by subclasses with buffering
60+
// should beoverridden by subclasses with buffering
6161
virtualintavailableForWrite() {return0; }
6262

6363
size_tprint(const __FlashStringHelper *);

‎api/Stream.h

Lines changed: 1 addition & 1 deletion
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)

‎api/String.h

Lines changed: 2 additions & 2 deletions
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 consideredunsucessful.
109+
// concatenation is consideredunsuccessful.
110110
boolconcat(const String &str);
111111
boolconcat(constchar *cstr);
112112
boolconcat(constchar *cstr,unsignedint length);
@@ -179,7 +179,7 @@ class String
179179
boolstartsWith(const String &prefix,unsignedint offset)const;
180180
boolendsWith(const String &suffix)const;
181181

182-
// characteracccess
182+
// characteraccess
183183
charcharAt(unsignedint index)const;
184184
voidsetCharAt(unsignedint index,char c);
185185
charoperator [] (unsignedint index)const;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp