🐛 Fix Longer3D STM32 boot, add Maple test (#22473)
This commit is contained in:
		
				
					committed by
					
						
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							ac64d6915f
						
					
				
				
					commit
					2b2a8355c9
				
			@@ -99,12 +99,19 @@
 | 
			
		||||
// Avoid nozzle heat and fan start before serial init
 | 
			
		||||
#define BOARD_OPENDRAIN_MOSFETS
 | 
			
		||||
 | 
			
		||||
#define BOARD_PREINIT() { \
 | 
			
		||||
#define BOARD_INIT_OD_PINS() { \
 | 
			
		||||
  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