Skip to content

Commit

Permalink
Allow create new timer from none CHIP main thread (#6827)
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca authored and pull[bot] committed Aug 9, 2021
1 parent 08ec000 commit cbce266
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/system/SystemLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,8 +201,6 @@ void Layer::SetPlatformData(void * aPlatformData)

Error Layer::NewTimer(Timer *& aTimerPtr)
{
assertChipStackLockedByCurrentThread();

Timer * lTimer = nullptr;

if (this->State() != kLayerState_Initialized)
Expand Down

0 comments on commit cbce266

Please sign in to comment.