Fix case light on boot (#12919)
This commit is contained in:
		
				
					committed by
					
						 Scott Lahteine
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							f11c6d5d02
						
					
				
				
					commit
					8f4c6e6d1a
				
			| @@ -809,10 +809,6 @@ void setup() { | ||||
|     OUT_WRITE(PHOTOGRAPH_PIN, LOW); | ||||
|   #endif | ||||
|  | ||||
|   #if HAS_CASE_LIGHT | ||||
|     update_case_light(); | ||||
|   #endif | ||||
|  | ||||
|   #if ENABLED(SPINDLE_LASER_ENABLE) | ||||
|     OUT_WRITE(SPINDLE_LASER_ENABLE_PIN, !SPINDLE_LASER_ENABLE_INVERT);  // init spindle to off | ||||
|     #if SPINDLE_DIR_CHANGE | ||||
| @@ -873,6 +869,10 @@ void setup() { | ||||
|     #endif | ||||
|   #endif | ||||
|  | ||||
|   #if HAS_CASE_LIGHT | ||||
|     update_case_light(); | ||||
|   #endif | ||||
|  | ||||
|   #if ENABLED(MK2_MULTIPLEXER) | ||||
|     SET_OUTPUT(E_MUX0_PIN); | ||||
|     SET_OUTPUT(E_MUX1_PIN); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user