Skip to content

Commit b5410d3

Browse files
Apply suggestions from code review
Co-authored-by: Boris Zbarsky <bzbarsky@apple.com>
1 parent d424a77 commit b5410d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/clusters/thermostat-server/thermostat-server.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1403,7 +1403,7 @@ bool handleAtomicBegin(chip::app::CommandHandler * commandObj, const chip::app::
14031403
uint16_t maxTimeout = 5000;
14041404
timeout = std::min(timeout, maxTimeout);
14051405

1406-
ScheduleTimer(endpoint, static_cast<System::Clock::Milliseconds16>(timeout));
1406+
ScheduleTimer(endpoint, System::Clock::Milliseconds16(timeout));
14071407
gThermostatAttrAccess.SetAtomicWrite(endpoint, true);
14081408
gThermostatAttrAccess.SetAtomicWriteScopedNodeId(endpoint, GetSourceScopedNodeId(commandObj));
14091409
Commands::AtomicResponse::Type response;

0 commit comments

Comments
 (0)