Refactor temperature profile executer

This commit is contained in:
2021-10-23 21:00:21 +02:00
parent 73606bf7a0
commit fe0e8136d4
5 changed files with 35 additions and 35 deletions

View File

@@ -44,9 +44,9 @@ enum tpe_status {
};
/**
* @brief The current execution state of the temperature profile
* @brief The execution state of the temperature profile
*/
struct tpe_current_state {
struct tpe_exec_state {
enum tpe_status status; /**< @brief Execution status */
float setpoint; /**< @brief Temperature setpoint in degrees Celsius */
uint64_t start_timestamp; /**< @brief The millisicend tick timestamp, the profile execution was started */
@@ -78,7 +78,7 @@ int temp_profile_executer_handle(void);
* @warning The returned state structure is static and used internally. You must not modify it.
* @return Execution state
*/
const struct tpe_current_state *temp_profile_executer_status(void);
const struct tpe_exec_state *temp_profile_executer_status(void);
/**
* @brief Stop the temperature profile execution.

View File

@@ -19,7 +19,7 @@
*/
/**
* @addtogroup temp-profile
* @defgroup temp-profile Temperature Profile Parser and Executer
* @{
*/