From 0cc1eab7170d1e5138c5b856e33448625de3eae7 Mon Sep 17 00:00:00 2001 From: Rohit Jadhav Date: Mon, 25 Sep 2023 17:14:46 +0530 Subject: [PATCH] [ESP32] Fix template argument for scan response --- src/platform/ESP32/nimble/BLEManagerImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/ESP32/nimble/BLEManagerImpl.cpp b/src/platform/ESP32/nimble/BLEManagerImpl.cpp index 8c5fc972860dde..66a4d29df768d4 100644 --- a/src/platform/ESP32/nimble/BLEManagerImpl.cpp +++ b/src/platform/ESP32/nimble/BLEManagerImpl.cpp @@ -1006,7 +1006,7 @@ CHIP_ERROR BLEManagerImpl::ConfigureScanResponseData(ByteSpan data) } memcpy(scanResponseBuffer, data.data(), data.size()); ByteSpan scanResponseSpan(scanResponseBuffer); - mScanResponse = chip::Optional(scanResponseSpan); + mScanResponse = chip::Optional(scanResponseSpan); return CHIP_NO_ERROR; }