ControllerTemp better defaults
This commit is contained in:
		
							parent
							
								
									49ec551e69
								
							
						
					
					
						commit
						642a658259
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -11,7 +11,7 @@ public final class ControllerTemp extends ActorThread<WashingMessage> { | ||||||
| 
 | 
 | ||||||
|     public ControllerTemp(WashingIO io) { |     public ControllerTemp(WashingIO io) { | ||||||
|         this.io = io; |         this.io = io; | ||||||
|         heater = new Heater(40); |         heater = new Heater(0); | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|     protected void sendAck() { |     protected void sendAck() { | ||||||
|  | @ -50,7 +50,7 @@ public final class ControllerTemp extends ActorThread<WashingMessage> { | ||||||
| 
 | 
 | ||||||
|         Heater(double target) { |         Heater(double target) { | ||||||
|             this.target = target; |             this.target = target; | ||||||
|             this.hovering = false; |             this.hovering = true; // No acks before actual setpoint is acquired | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         synchronized public void setTarget(double target) { |         synchronized public void setTarget(double target) { | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Imbus
						Imbus