🚑️ Init FastIO before anything else (#22508)
This commit is contained in:
		
				
					committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							157c60c93b
						
					
				
				
					commit
					86e78410d6
				
			@@ -99,19 +99,12 @@
 | 
			
		||||
// Avoid nozzle heat and fan start before serial init
 | 
			
		||||
#define BOARD_OPENDRAIN_MOSFETS
 | 
			
		||||
 | 
			
		||||
#define BOARD_INIT_OD_PINS() { \
 | 
			
		||||
#define BOARD_PREINIT() { \
 | 
			
		||||
  OUT_WRITE_OD(HEATER_0_PIN, 0); \
 | 
			
		||||
  OUT_WRITE_OD(HEATER_BED_PIN, 0); \
 | 
			
		||||
  OUT_WRITE_OD(FAN_PIN, 0); \
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#ifdef MAPLE_STM32F1
 | 
			
		||||
  // Only Maple Framework allow that early
 | 
			
		||||
  #define BOARD_PREINIT BOARD_INIT_OD_PINS
 | 
			
		||||
#else
 | 
			
		||||
  #define BOARD_INIT BOARD_INIT_OD_PINS
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
//
 | 
			
		||||
// PWM for a servo probe
 | 
			
		||||
// Other servo devices are not supported on this board!
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user