File tree 2 files changed +3
-3
lines changed
clusters/icd-management-server
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -430,7 +430,7 @@ bool emberAfIcdManagementClusterStayActiveRequestCallback(CommandHandler * comma
430
430
response.promisedActiveDuration = Server::GetInstance ().GetICDManager ().StayActiveRequest (commandData.stayActiveDuration );
431
431
commandObj->AddResponse (commandPath, response);
432
432
#else
433
- // Note: We only keep this line around for platforms examples that enable the ICD management server without building the sample
433
+ // Note: We only keep this line around for platform examples that enable the ICD management server without building the sample
434
434
// as an ICD.
435
435
commandObj->AddStatus (commandPath, InteractionModel::Status::UnsupportedCommand);
436
436
#endif // CHIP_CONFIG_ENABLE_ICD_SERVER
Original file line number Diff line number Diff line change @@ -110,8 +110,8 @@ class ICDManager : public ICDListener
110
110
OperationalState GetOperationalState () { return mOperationalState ; }
111
111
112
112
/* *
113
- * @brief Extends the Active Mode duration for whichever is smallest between 30000 milliseconds and stayActiveDuration, taking
114
- * in account the remaining active time.
113
+ * @brief Ensures that the remaining Active Mode duration is at least the smaller of 30000 milliseconds and stayActiveDuration.
114
+ *
115
115
* @param stayActiveDuration The duration (in milliseconds) requested by the client to stay in Active Mode
116
116
* @return The duration (in milliseconds) the device will stay in Active Mode
117
117
*/
You can’t perform that action at this time.
0 commit comments