Skip to content

Commit e85c5b9

Browse files
thisiskeithbLCh-77
authored andcommitted
🐛 Fix FLSUN Hispeed FIL_RUNOUT_PIN, MKS Robin Mini TFT pins (MarlinFirmware#24204)
1 parent 3c692be commit e85c5b9

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Marlin/src/pins/stm32f1/pins_FLSUN_HISPEED.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
#define BOARD_NO_NATIVE_USB
4242

4343
// Avoid conflict with TIMER_SERVO when using the STM32 HAL
44-
#define TEMP_TIMER 5
44+
#define TEMP_TIMER 5
4545

4646
//
4747
// Release PB4 (Y_ENABLE_PIN) from JTAG NRST role
@@ -92,7 +92,7 @@
9292
#define Z_MAX_PIN PC4 // +Z
9393

9494
#ifndef FIL_RUNOUT_PIN
95-
#define FIL_RUNOUT_PIN MT_DET_1_PIN
95+
#define FIL_RUNOUT_PIN PA4 // MT_DET
9696
#endif
9797

9898
//
@@ -217,14 +217,14 @@
217217
//
218218
#if ENABLED(PSU_CONTROL)
219219
#define KILL_PIN PA2 // PW_DET
220-
#define KILL_PIN_STATE HIGH
220+
#define KILL_PIN_STATE HIGH
221221
//#define PS_ON_PIN PA3 // PW_CN /PW_OFF
222222
#endif
223223

224224
#if HAS_TFT_LVGL_UI
225225
#define MT_DET_1_PIN PA4 // MT_DET
226226
#define MT_DET_2_PIN PE6
227-
#define MT_DET_PIN_STATE LOW
227+
#define MT_DET_PIN_STATE LOW
228228
#endif
229229

230230
//

Marlin/src/pins/stm32f1/pins_MKS_ROBIN_MINI.h

+3
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@
153153
#define FSMC_CS_PIN PD7 // NE4
154154
#define FSMC_RS_PIN PD11 // A0
155155

156+
#define TFT_CS_PIN FSMC_CS_PIN
157+
#define TFT_RS_PIN FSMC_RS_PIN
158+
156159
#define LCD_USE_DMA_FSMC // Use DMA transfers to send data to the TFT
157160
#define FSMC_DMA_DEV DMA2
158161
#define FSMC_DMA_CHANNEL DMA_CH5

0 commit comments

Comments
 (0)