8000 Merge pull request #508 from mws-rmain/master · olehs/esp32-snippets@787b4ec · GitHub
[go: up one dir, main page]

Skip to content

Commit 787b4ec

Browse files
authored
Merge pull request nkolban#508 from mws-rmain/master
Typo fixes
2 parents fe3c090 + fac6baa commit 787b4ec

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

cpp_utils/BLEServer.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include "BLEUtils.h"
1919
#include <string.h>
2020
#include <string>
21-
#include <gatt_api.h>
2221
#include <unordered_set>
2322
#ifdef ARDUINO_ARCH_ESP32
2423
#include "esp32-hal-log.h"

cpp_utils/PubSubClient.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ bool PubSubClient::connect(){
315315

316316
ESP_LOGD(TAG, "Connect to mqtt server...");
317317

318-
ESP_LOGD(TAG, "ip: %s port: %d", _config.ip.c_str(), _config.port)
318+
ESP_LOGD(TAG, "ip: %s port: %d", _config.ip.c_str(), _config.port);
319319
int result = _client->connect((char *)_config.ip.c_str(), _config.port);
320320

321321
if (result == 0) {

cpp_utils/SockServ.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ SockServ::~SockServ() {
6464
SockServ* pSockServ = (SockServ*)data;
6565
try {
6666
while(1) {
67-
ESP_LOGD(LOG_TAG, "Waiting on accept")
67+
ESP_LOGD(LOG_TAG, "Waiting on accept");
6868
Socket tempSock = pSockServ->m_serverSocket.accept();
6969
if (!tempSock.isValid()) {
7070
continue;
@@ -229,7 +229,7 @@ Socket SockServ::waitForData(std::set<Socket>& socketSet) {
229229
* or can return immediately is there is already a client connection in existence.
230230
*/
231231
Socket SockServ::waitForNewClient() {
232-
ESP_LOGD(LOG_TAG, ">> waitForNewClient")
232+
ESP_LOGD(LOG_TAG, ">> waitForNewClient");
233233
m_clientSemaphore.wait("waitForNewClient"); // Unlocked in acceptTask.
234234
m_clientSemaphore.take("waitForNewClient");
235235
Socket tempSocket;

0 commit comments

Comments
 (0)
0