🩹 Run TMC test last in setup (#24160)
This commit is contained in:
		
				
					committed by
					
						 Scott Lahteine
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							03b819bdb2
						
					
				
				
					commit
					94ed67e36e
				
			| @@ -1561,10 +1561,6 @@ void setup() { | |||||||
|     SETUP_RUN(hostui.prompt_end()); |     SETUP_RUN(hostui.prompt_end()); | ||||||
|   #endif |   #endif | ||||||
|  |  | ||||||
|   #if HAS_TRINAMIC_CONFIG && DISABLED(PSU_DEFAULT_OFF) |  | ||||||
|     SETUP_RUN(test_tmc_connection()); |  | ||||||
|   #endif |  | ||||||
|  |  | ||||||
|   #if HAS_DRIVER_SAFE_POWER_PROTECT |   #if HAS_DRIVER_SAFE_POWER_PROTECT | ||||||
|     SETUP_RUN(stepper_driver_backward_report()); |     SETUP_RUN(stepper_driver_backward_report()); | ||||||
|   #endif |   #endif | ||||||
| @@ -1622,6 +1618,10 @@ void setup() { | |||||||
|     SETUP_RUN(easythreed_ui.init()); |     SETUP_RUN(easythreed_ui.init()); | ||||||
|   #endif |   #endif | ||||||
|  |  | ||||||
|  |   #if HAS_TRINAMIC_CONFIG && DISABLED(PSU_DEFAULT_OFF) | ||||||
|  |     SETUP_RUN(test_tmc_connection()); | ||||||
|  |   #endif | ||||||
|  |  | ||||||
|   marlin_state = MF_RUNNING; |   marlin_state = MF_RUNNING; | ||||||
|  |  | ||||||
|   SETUP_LOG("setup() completed."); |   SETUP_LOG("setup() completed."); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user