Update src/menu.cpp
Disable motor when processing step complete
This commit is contained in:
		
							parent
							
								
									279e8ab2cb
								
							
						
					
					
						commit
						6cb5ec57b0
					
				@ -132,6 +132,10 @@ int startProcessing(struct devSequence *sequence, int sequenceStep)
 | 
			
		||||
    vTaskDelete(motorTaskHandle);
 | 
			
		||||
    motorTaskHandle = NULL;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // Disable the motor
 | 
			
		||||
  digitalWrite(EN_PIN, HIGH);
 | 
			
		||||
  
 | 
			
		||||
  playAlarmTone();
 | 
			
		||||
 | 
			
		||||
  delete params;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user