Refactor temperature profile executer
This commit is contained in:
		@@ -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.
 | 
			
		||||
 
 | 
			
		||||
@@ -19,7 +19,7 @@
 | 
			
		||||
*/
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * @addtogroup temp-profile
 | 
			
		||||
 * @defgroup temp-profile Temperature Profile Parser and Executer
 | 
			
		||||
 * @{
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user