From da771b1dd6637ebdce9e62a53b9e3630871993bf Mon Sep 17 00:00:00 2001 From: Doug Ferraz Date: Fri, 17 Jun 2022 15:34:11 -0400 Subject: [PATCH] chg: addressing a few comments left from previous pr #19390 #19392 --- src/app/clusters/level-control/level-control.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/clusters/level-control/level-control.cpp b/src/app/clusters/level-control/level-control.cpp index 7e6f853b2eadc3..93ef47120ff67b 100644 --- a/src/app/clusters/level-control/level-control.cpp +++ b/src/app/clusters/level-control/level-control.cpp @@ -141,12 +141,12 @@ static void timerCallback(System::Layer *, void * callbackContext) static void schedule(EndpointId endpoint, uint32_t delayMs) { DeviceLayer::SystemLayer().StartTimer(chip::System::Clock::Milliseconds32(delayMs), timerCallback, - reinterpret_cast(endpoint)); + reinterpret_cast(endpoint)); } static void deactivate(EndpointId endpoint) { - DeviceLayer::SystemLayer().CancelTimer(timerCallback, reinterpret_cast(endpoint)); + DeviceLayer::SystemLayer().CancelTimer(timerCallback, reinterpret_cast(endpoint)); } static EmberAfLevelControlState * getState(EndpointId endpoint)