Skip to content

Commit

Permalink
[YAML] Update WaitForMs signature to use a uint32_t (#17906)
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple authored and pull[bot] committed Aug 4, 2023
1 parent 0773cfb commit 1471576
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/tests/suites/commands/delay/DelayCommands.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/app/tests/suites/commands/delay/DelayCommands.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 1471576

Please sign in to comment.