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 May 14, 2021
1 parent ea872b9 commit f4b00be
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 f4b00be

Please sign in to comment.