Skip to content

Commit

Permalink
Fix the compilation for bluedroid host
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamdp committed Aug 10, 2023
1 parent 458aff4 commit 817cd03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/platform/ESP32/bluedroid/BLEManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ CHIP_ERROR BLEManagerImpl::_Init()
#endif
SuccessOrExit(err);

memset(mCons, 0, sizeof(mCons));
memset(reinterpret_cast<void *>(mCons), 0, sizeof(mCons));
mServiceMode = ConnectivityManager::kCHIPoBLEServiceMode_Enabled;
mAppIf = ESP_GATT_IF_NONE;
mServiceAttrHandle = 0;
Expand Down

0 comments on commit 817cd03

Please sign in to comment.