diff --git a/src/local/BLELocalDevice.cpp b/src/local/BLELocalDevice.cpp index b7fdbd41..59278988 100644 --- a/src/local/BLELocalDevice.cpp +++ b/src/local/BLELocalDevice.cpp @@ -480,7 +480,7 @@ void BLELocalDevice::noDebug() void BLELocalDevice::setLowPowerModeEnabled(bool enabled) { - HCI.leSetLPMode(status); + HCI.leSetLPMode(enabled); } #if !defined(FAKE_BLELOCALDEVICE)