mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-14 04:04:28 +05:00
style: formatting
This commit is contained in:
@@ -575,10 +575,10 @@ protected:
|
|||||||
if (!NimBLEDevice::isInitialized() && millis() > 5000) {
|
if (!NimBLEDevice::isInitialized() && millis() > 5000) {
|
||||||
Log.sinfoln(FPSTR(L_SENSORS_BLE), F("Initialized"));
|
Log.sinfoln(FPSTR(L_SENSORS_BLE), F("Initialized"));
|
||||||
NimBLEDevice::init("");
|
NimBLEDevice::init("");
|
||||||
|
|
||||||
#if defined(ESP_PWR_LVL_P20)
|
#ifdef ESP_PWR_LVL_P20
|
||||||
NimBLEDevice::setPower(ESP_PWR_LVL_P20);
|
NimBLEDevice::setPower(ESP_PWR_LVL_P20);
|
||||||
#elif defined(ESP_PWR_LVL_P9)
|
#elifdef ESP_PWR_LVL_P9
|
||||||
NimBLEDevice::setPower(ESP_PWR_LVL_P9);
|
NimBLEDevice::setPower(ESP_PWR_LVL_P9);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user