From cbce26667109ed7342e615a9ad3dd818c9a22dbe Mon Sep 17 00:00:00 2001 From: Yufeng Wang Date: Fri, 14 May 2021 14:34:41 -0700 Subject: [PATCH] Allow create new timer from none CHIP main thread (#6827) --- src/system/SystemLayer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/system/SystemLayer.cpp b/src/system/SystemLayer.cpp index fa31f3510428ba..981bf84c28b430 100644 --- a/src/system/SystemLayer.cpp +++ b/src/system/SystemLayer.cpp @@ -201,8 +201,6 @@ void Layer::SetPlatformData(void * aPlatformData) Error Layer::NewTimer(Timer *& aTimerPtr) { - assertChipStackLockedByCurrentThread(); - Timer * lTimer = nullptr; if (this->State() != kLayerState_Initialized)