Progress in error handling
This commit is contained in:
		@@ -45,7 +45,7 @@ struct oven_pid_errors {
 | 
			
		||||
 | 
			
		||||
struct oven_pid_status {
 | 
			
		||||
	bool active;
 | 
			
		||||
	bool aborted;
 | 
			
		||||
	bool error_set;
 | 
			
		||||
	struct oven_pid_errors error_flags;
 | 
			
		||||
	float target_temp;
 | 
			
		||||
	float current_temp;
 | 
			
		||||
@@ -58,6 +58,8 @@ void oven_driver_set_power(uint8_t power);
 | 
			
		||||
 | 
			
		||||
void oven_driver_disable(void);
 | 
			
		||||
 | 
			
		||||
void oven_pid_ack_errors(void);
 | 
			
		||||
 | 
			
		||||
void oven_pid_init(struct pid_controller *controller_to_copy);
 | 
			
		||||
 | 
			
		||||
void oven_pid_handle(float target_temp);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user