diff --git a/marlin_changes/HAL_stm32.h b/marlin_changes/HAL_stm32.h index 69430c2..b05d6e5 100644 --- a/marlin_changes/HAL_stm32.h +++ b/marlin_changes/HAL_stm32.h @@ -360,7 +360,7 @@ void loop(void); // code (~500 bytes), there is no harm in always selecting this option on // the off chance that the extra fan output is available. // -#define CONFIGURE_FAN1_AND_EXTRA_IO 1 +#define CONFIGURE_FAN1_AND_EXTRA_IO 0 // must match pin description file, pins_MALYAN_M300.h diff --git a/marlin_changes/MarlinSerial_stm32.cpp b/marlin_changes/MarlinSerial_stm32.cpp index bbbb174..51b6b3c 100644 --- a/marlin_changes/MarlinSerial_stm32.cpp +++ b/marlin_changes/MarlinSerial_stm32.cpp @@ -41,6 +41,7 @@ // custom serial #define CS_PACING_TX 0 // (ms) tx (blocking) wait if buffer is full #define QTIMER_DELAY 0 // (ms) idle time before flushing tx buffer +#define USE_USART2 1 // Enable USART2 on PA2/PA3 instead of USB for communication #if MB(MALYAN_M300) extern CustomSerial Serial1;