From 07078b1ead8bfdb615990a24321f01c2e9c89357 Mon Sep 17 00:00:00 2001 From: Vivien Nicolas Date: Fri, 29 Apr 2022 14:46:36 +0200 Subject: [PATCH] [YAML] Update WaitForMs signature to use a uint32_t --- src/app/tests/suites/commands/delay/DelayCommands.cpp | 2 +- src/app/tests/suites/commands/delay/DelayCommands.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/tests/suites/commands/delay/DelayCommands.cpp b/src/app/tests/suites/commands/delay/DelayCommands.cpp index 97a59c246c3c2b..96488174b071a8 100644 --- a/src/app/tests/suites/commands/delay/DelayCommands.cpp +++ b/src/app/tests/suites/commands/delay/DelayCommands.cpp @@ -26,7 +26,7 @@ const char * getScriptsFolder() } } // namespace -CHIP_ERROR DelayCommands::WaitForMs(uint16_t ms) +CHIP_ERROR DelayCommands::WaitForMs(uint32_t ms) { const auto duration = chip::System::Clock::Milliseconds32(ms); return chip::DeviceLayer::SystemLayer().StartTimer(duration, OnWaitForMsFn, this); diff --git a/src/app/tests/suites/commands/delay/DelayCommands.h b/src/app/tests/suites/commands/delay/DelayCommands.h index 8aaccd91f844a8..e6b57c0883823f 100644 --- a/src/app/tests/suites/commands/delay/DelayCommands.h +++ b/src/app/tests/suites/commands/delay/DelayCommands.h @@ -33,7 +33,7 @@ class DelayCommands virtual CHIP_ERROR WaitForCommissionee(chip::NodeId nodeId) { return CHIP_ERROR_NOT_IMPLEMENTED; }; virtual CHIP_ERROR WaitForCommissioning() { return CHIP_ERROR_NOT_IMPLEMENTED; }; - CHIP_ERROR WaitForMs(uint16_t ms); + CHIP_ERROR WaitForMs(uint32_t ms); CHIP_ERROR WaitForCommissionableAdvertisement(); CHIP_ERROR WaitForOperationalAdvertisement();