Skip to content

Commit 6ad45af

Browse files
committed
More fixes
1 parent 439023f commit 6ad45af

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/wifi/WiFiManagerNew.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ static bool wifi_start_connect(std::string_view ssid, std::string_view password,
237237
err = esp_wifi_connect();
238238
if (err != ERR_OK) {
239239
s_state = WiFiState::Disconnected;
240-
OS_LOGE(TAG, "Failed to stat wifi conhuhnect: %d", err);
240+
OS_LOGE(TAG, "Failed to start wifi connect: %d", err);
241241
return false;
242242
}
243243

src/wifi/WiFiScanManager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ bool OpenShock::WiFiScanManager::IsScanning()
143143

144144
bool OpenShock::WiFiScanManager::StartScan()
145145
{
146-
OpenShock::ScopedLock lock__(s_mtx);
146+
OpenShock::ScopedLock lock__(&s_mtx);
147147
if (!lock__.isLocked()) {
148148
return false;
149149
}
@@ -182,7 +182,7 @@ void OpenShock::WiFiScanManager::AbortScan()
182182

183183
bool OpenShock::WiFiScanManager::FreeResources()
184184
{
185-
OpenShock::ScopedLock lock__(s_mtx);
185+
OpenShock::ScopedLock lock__(&s_mtx);
186186
if (!lock__.isLocked()) {
187187
return false;
188188
}

0 commit comments

Comments
 (0)