Skip to content

Commit

Permalink
Merge pull request #328 from jjjpolo/fix-typos-and-comments-style-format
Browse files Browse the repository at this point in the history
Fixing typos and comments style format
  • Loading branch information
witnessmenow authored Jan 4, 2024
2 parents 993f88c + 44b46ee commit 601a1f4
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion examples/ESP32/ChannelPost/ChannelPost.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
including ones from channels
Parts:
ESP32 D1 Mini stlye Dev board* - http://s.click.aliexpress.com/e/C6ds4my
ESP32 D1 Mini style Dev board* - http://s.click.aliexpress.com/e/C6ds4my
(or any ESP32 board)
= Affilate
Expand Down
2 changes: 1 addition & 1 deletion examples/ESP32/ChatAction/ChatAction.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
that show bot action message
Parts:
ESP32 D1 Mini stlye Dev board* - http://s.click.aliexpress.com/e/C6ds4my
ESP32 D1 Mini style Dev board* - http://s.click.aliexpress.com/e/C6ds4my
(or any ESP32 board)
= Affilate
Expand Down
2 changes: 1 addition & 1 deletion examples/ESP32/EchoBot/EchoBot.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
with whatever message you send it.
Parts:
ESP32 D1 Mini stlye Dev board* - http://s.click.aliexpress.com/e/C6ds4my
ESP32 D1 Mini style Dev board* - http://s.click.aliexpress.com/e/C6ds4my
(or any ESP32 board)
= Affilate
Expand Down
2 changes: 1 addition & 1 deletion examples/ESP32/FlashLED/FlashLED.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
onboard LED. The LED in this example is active low.
Parts:
ESP32 D1 Mini stlye Dev board* - http://s.click.aliexpress.com/e/C6ds4my
ESP32 D1 Mini style Dev board* - http://s.click.aliexpress.com/e/C6ds4my
(or any ESP32 board)
= Affilate
Expand Down
2 changes: 1 addition & 1 deletion examples/ESP32/Location/Location.ino
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************
* An example of recieving location Data
* An example of receiving location Data
*
*
* By Brian Lough
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
starts up
Parts:
ESP32 D1 Mini stlye Dev board* - http://s.click.aliexpress.com/e/C6ds4my
ESP32 D1 Mini style Dev board* - http://s.click.aliexpress.com/e/C6ds4my
(or any ESP32 board)
= Affilate
Expand Down
2 changes: 1 addition & 1 deletion examples/ESP32/SendPhoto/ESP32-Cam/ESP32-Cam.ino
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
Note:
- Make sure that you have either selected ESP32 Wrover Module,
or another board which has PSRAM enabled
- Choose "Huge App" partion scheme
- Choose "Huge App" partition scheme
Some of the camera code comes from Rui Santos:
https://randomnerdtutorials.com/esp32-cam-take-photo-save-microsd-card/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from FileID.
Parts:
ESP32 D1 Mini stlye Dev board* - http://s.click.aliexpress.com/e/C6ds4my
ESP32 D1 Mini style Dev board* - http://s.click.aliexpress.com/e/C6ds4my
(or any ESP32 board)
= Affilate
Expand Down
2 changes: 1 addition & 1 deletion examples/ESP32/SendPhoto/PhotoFromSD/PhotoFromSD.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from SD.
Parts:
ESP32 D1 Mini stlye Dev board* - http://s.click.aliexpress.com/e/C6ds4my
ESP32 D1 Mini style Dev board* - http://s.click.aliexpress.com/e/C6ds4my
(or any ESP32 board)
= Affilate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from Serial.
Parts:
ESP32 D1 Mini stlye Dev board* - http://s.click.aliexpress.com/e/C6ds4my
ESP32 D1 Mini style Dev board* - http://s.click.aliexpress.com/e/C6ds4my
(or any ESP32 board)
= Affilate
Expand Down
2 changes: 1 addition & 1 deletion examples/ESP32/SendPhoto/PhotoFromURL/PhotoFromURL.ino
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from URL.
Parts:
ESP32 D1 Mini stlye Dev board* - http://s.click.aliexpress.com/e/C6ds4my
ESP32 D1 Mini style Dev board* - http://s.click.aliexpress.com/e/C6ds4my
(or any ESP32 board)
= Affilate
Expand Down
2 changes: 1 addition & 1 deletion examples/WifiNINA/EchoBot/EchoBot.ino
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
// Additional Libraries - each one of these will need to be installed.
// ----------------------------
#include <WiFiNINA.h>
// Library for using network deatures of the official Arudino
// Library for using network features of the official Arduino
// Wifi Boards (MKR WiFi 1010, Nano 33 IOT etc)

// Search for "nina" in the Arduino Library Manager
Expand Down
14 changes: 7 additions & 7 deletions src/UniversalTelegramBot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ String UniversalTelegramBot::sendGetToTelegram(const String& command) {
#endif
if (!client->connect(TELEGRAM_HOST, TELEGRAM_SSL_PORT)) {
#ifdef TELEGRAM_DEBUG
Serial.println(F("[BOT]Conection error"));
Serial.println(F("[BOT]Connection error"));
#endif
}
}
Expand Down Expand Up @@ -149,7 +149,7 @@ String UniversalTelegramBot::sendPostToTelegram(const String& command, JsonObjec
#endif
if (!client->connect(TELEGRAM_HOST, TELEGRAM_SSL_PORT)) {
#ifdef TELEGRAM_DEBUG
Serial.println(F("[BOT Client]Conection error"));
Serial.println(F("[BOT Client]Connection error"));
#endif
}
}
Expand Down Expand Up @@ -204,7 +204,7 @@ String UniversalTelegramBot::sendMultipartFormDataToTelegram(
#endif
if (!client->connect(TELEGRAM_HOST, TELEGRAM_SSL_PORT)) {
#ifdef TELEGRAM_DEBUG
Serial.println(F("[BOT Client]Conection error"));
Serial.println(F("[BOT Client]Connection error"));
#endif
}
}
Expand Down Expand Up @@ -319,7 +319,7 @@ bool UniversalTelegramBot::getMe() {

/*********************************************************************************
* SetMyCommands - Update the command list of the bot on the telegram server *
* (Argument to pass: Serialied array of BotCommand) *
* (Argument to pass: Serialized array of BotCommand) *
* CAUTION: All commands must be lower-case *
* Returns true, if the command list was updated successfully *
********************************************************************************/
Expand Down Expand Up @@ -348,9 +348,9 @@ bool UniversalTelegramBot::setMyCommands(const String& commandArray) {


/***************************************************************
* GetUpdates - function to receive messages from telegram *
* (Argument to pass: the last+1 message to read) *
* Returns the number of new messages *
* GetUpdates - function to receive messages from telegram *
* (Argument to pass: the last+1 message to read) *
* Returns the number of new messages *
***************************************************************/
int UniversalTelegramBot::getUpdates(long offset) {

Expand Down

0 comments on commit 601a1f4

Please sign in to comment.