Merge pull request #48 from mc-hamster/osthread

is linux fixed now?
1.2-legacy
Jm Casler 2021-01-09 18:27:32 -08:00 zatwierdzone przez GitHub
commit 39311f1e40
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
2 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -545,7 +545,9 @@ void setBluetoothEnable(bool on)
if (firstTime) {
firstTime = 0;
} else {
initWifi(0);
#ifndef NO_ESP32
initWifi();
#endif
}
} else {
@ -557,7 +559,9 @@ void setBluetoothEnable(bool on)
*/
// shutdown wifi
#ifndef NO_ESP32
deinitWifi();
#endif
// We have to totally teardown our bluetooth objects to prevent leaks
deinitBLE();

Wyświetl plik

@ -1,4 +1,7 @@
//#include "mesh/wifi/WebServer.h"
#ifndef NO_ESP32
#include "mesh/wifi/WiFiAPClient.h"
void initWifi(bool forceSoftAP) {}
@ -9,3 +12,5 @@ bool isWifiAvailable()
{
return false;
}
#endif