added option to disable it as well

This commit is contained in:
2021-09-11 17:42:29 +02:00
parent c9bfc8464a
commit 11a3c8c21f
2 changed files with 10 additions and 4 deletions

View File

@ -486,10 +486,11 @@ protected:
/**
* Enables a periodic reply for a given command. It sets to delay cycles to the specified
* maximum delay cycles for a given reply ID.
* maximum delay cycles for a given reply ID if enabled or to 0 if disabled.
* @param enable Specify whether to enable or disable a given periodic reply
* @return
*/
ReturnValue_t enablePeriodicReply(DeviceCommandId_t deviceReply);
ReturnValue_t enablePeriodicReply(bool enable, DeviceCommandId_t deviceReply);
/**
* @brief This function returns the reply length of the next reply to read.