🐛 Define MT_DET_PIN_INVERTING for MKS_ROBIN_NANO_V3 (#22348)

This commit is contained in:
ellensp 2021-07-14 12:32:21 +12:00 committed by Scott Lahteine
parent cad2f69687
commit a0704cb14f

View File

@ -180,8 +180,7 @@
// //
#define MT_DET_1_PIN PA4 #define MT_DET_1_PIN PA4
#define MT_DET_2_PIN PE6 #define MT_DET_2_PIN PE6
#define PW_DET PA13 #define MT_DET_PIN_INVERTING false // LVGL UI filament RUNOUT PIN STATE
#define PW_OFF PB2
#ifndef FIL_RUNOUT_PIN #ifndef FIL_RUNOUT_PIN
#define FIL_RUNOUT_PIN MT_DET_1_PIN #define FIL_RUNOUT_PIN MT_DET_1_PIN
@ -191,9 +190,9 @@
#endif #endif
#ifndef POWER_LOSS_PIN #ifndef POWER_LOSS_PIN
#define POWER_LOSS_PIN PW_DET #define POWER_LOSS_PIN PA13 // PW_DET
#endif #endif
#define PS_ON_PIN PW_OFF #define PS_ON_PIN PB2 // PW_OFF
// //
// Enable MKSPWC support // Enable MKSPWC support