Skip to content

Commit

Permalink
Replaced FreeRTOS timer with CHIP timer
Browse files Browse the repository at this point in the history
  • Loading branch information
pimpalemahesh committed Jun 24, 2024
1 parent 19dc105 commit 08a2f0b
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 @@ -715,7 +715,7 @@ void BLEManagerImpl::StartBleAdvTimeoutTimer(uint32_t aTimeoutInMs)
CancelBleAdvTimeoutTimer();

CHIP_ERROR err = SystemLayer().StartTimer(System::Clock::Milliseconds32(aTimeoutInMs), BleAdvTimeoutHandler, nullptr);
if((err != CHIP_NO_ERROR))
if ((err != CHIP_NO_ERROR))
{
ChipLogError(DeviceLayer, "Failed to start BledAdv timeout timer");
}
Expand Down

0 comments on commit 08a2f0b

Please sign in to comment.