mirror of https://github.com/arendst/Tasmota.git
make NimBLEDevice::initialized static
This commit is contained in:
parent
0dc0eda274
commit
ea48272135
|
@ -40,7 +40,7 @@ static const char* LOG_TAG = "NimBLEDevice";
|
||||||
/**
|
/**
|
||||||
* Singletons for the NimBLEDevice.
|
* Singletons for the NimBLEDevice.
|
||||||
*/
|
*/
|
||||||
bool initialized = false;
|
static bool initialized = false;
|
||||||
#if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
|
#if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
|
||||||
NimBLEScan* NimBLEDevice::m_pScan = nullptr;
|
NimBLEScan* NimBLEDevice::m_pScan = nullptr;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue