Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Boris Zbarsky <[email protected]>
  • Loading branch information
jamesharrow and bzbarsky-apple authored Aug 29, 2024
1 parent 6c85ea2 commit 00431de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ constexpr uint16_t kClusterRevision = 2;
***************************************************************************/

CHIP_ERROR Delegate::GenerateBoostStartedEvent(uint32_t durationSecs, Optional<bool> oneShot, Optional<bool> emergencyBoost,
Optional<int16_t> temporarySetpoint, Optional<chip::Percent> targetPercentage,
Optional<chip::Percent> targetReheat)
Optional<int16_t> temporarySetpoint, Optional<Percent> targetPercentage,
Optional<Percent> targetReheat)
{
Events::BoostStarted::Type event;
EventNumber eventNumber;
Expand Down Expand Up @@ -78,7 +78,7 @@ CHIP_ERROR Delegate::GenerateBoostEndedEvent()
CHIP_ERROR err = LogEvent(event, mEndpointId, eventNumber);
if (CHIP_NO_ERROR != err)
{
ChipLogError(AppServer, "Unable to generate BoostStarted event: %" CHIP_ERROR_FORMAT, err.Format());
ChipLogError(AppServer, "Unable to generate BoostEnded event: %" CHIP_ERROR_FORMAT, err.Format());
return err;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ class Delegate
* @return CHIP_NO_ERROR if the event was successfully generated, otherwise an error.
*/
CHIP_ERROR GenerateBoostStartedEvent(uint32_t durationSecs, Optional<bool> oneShot, Optional<bool> emergencyBoost,
Optional<int16_t> temporarySetpoint, Optional<chip::Percent> targetPercentage,
Optional<chip::Percent> targetReheat);
Optional<int16_t> temporarySetpoint, Optional<Percent> targetPercentage,
Optional<Percent> targetReheat);

/**
* @brief Generates a BoostEnded event.
Expand Down

0 comments on commit 00431de

Please sign in to comment.