Skip to content

Commit

Permalink
[ESP32] Fix template argument for scan response
Browse files Browse the repository at this point in the history
  • Loading branch information
jadhavrohit924 committed Sep 25, 2023
1 parent 33052cc commit 0cc1eab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/ESP32/nimble/BLEManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<ByteSpan>(scanResponseSpan);
return CHIP_NO_ERROR;
}

Expand Down

0 comments on commit 0cc1eab

Please sign in to comment.