Skip to content

Commit bd49dcf

Browse files
committed
Correct typos in comments and documentation
1 parent 265f44e commit bd49dcf

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

examples/GetTwitterStatus/GetTwitterStatus.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Get twitter status
2+
Get Twitter status
33
44
This example shows a REST API GET using OAuth 1.0
55
authentication. It then parses the JSON response.
@@ -33,7 +33,7 @@ const char consumerKeySecret[] = SECRET_CONSUMER_KEY_SECRET;
3333
const char accessToken[] = SECRET_ACCESS_TOKEN;
3434
const char accessTokenSecret[] = SECRET_ACCESS_TOKEN_SECRET;
3535

36-
int status = WL_IDLE_STATUS; // the Wifi radio's status
36+
int status = WL_IDLE_STATUS; // the WiFi radio's status
3737

3838
WiFiSSLClient wifiSSLClient;
3939
OAuthClient oauthClient(wifiSSLClient, "api.twitter.com", 443);
@@ -54,7 +54,7 @@ void setup() {
5454
while (true);
5555
}
5656

57-
// attempt to connect to Wifi network:
57+
// attempt to connect to WiFi network:
5858
while (status != WL_CONNECTED) {
5959
Serial.print("Attempting to connect to WPA SSID: ");
6060
Serial.println(ssid);

examples/Tweeter/Tweeter.ino

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Tweeter
33
44
This sketch demonstrates how to post a Tweet directly to
5-
Twitter via the Twitter's HTTP API using OAuth 1.0 for authenticaion.
5+
Twitter via the Twitter's HTTP API using OAuth 1.0 for authentication.
66
77
OAuth credentials can be retrieved from the following
88
website, using your Twitter account and creating a new
@@ -32,7 +32,7 @@ const char consumerKeySecret[] = SECRET_CONSUMER_KEY_SECRET;
3232
const char accessToken[] = SECRET_ACCESS_TOKEN;
3333
const char accessTokenSecret[] = SECRET_ACCESS_TOKEN_SECRET;
3434

35-
int status = WL_IDLE_STATUS; // the Wifi radio's status
35+
int status = WL_IDLE_STATUS; // the WiFi radio's status
3636

3737
WiFiSSLClient wifiSSLClient;
3838
OAuthClient oauthClient(wifiSSLClient, "api.twitter.com", 443);
@@ -51,7 +51,7 @@ void setup() {
5151
while (true);
5252
}
5353

54-
// attempt to connect to Wifi network:
54+
// attempt to connect to WiFi network:
5555
while (status != WL_CONNECTED) {
5656
Serial.print("Attempting to connect to WPA SSID: ");
5757
Serial.println(ssid);

src/OAuthClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ String OAuthClient::calculateSignature(const char* method, const char* url, unsi
265265
{
266266
// This function is long due to the complexity of the OAuth signature.
267267
// It must collect all the parameters from the oauth, query, and body params,
268-
// then sort the param key values lexographically. After these steps the
268+
// then sort the param key values lexicographically. After these steps the
269269
// signature can be calculated.
270270

271271
// calculate the OAuth params

0 commit comments

Comments
 (0)