Browse Source

🚑️ Init FastIO before anything else (#22508)

vanilla_fb_2.0.x
Tanguy Pruvot 3 years ago
committed by Scott Lahteine
parent
commit
86e78410d6
  1. 9
      Marlin/src/pins/stm32f1/pins_LONGER3D_LK.h

9
Marlin/src/pins/stm32f1/pins_LONGER3D_LK.h

@ -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!

Loading…
Cancel
Save