🐛 Fix Robin Nano v3 filament runout pins (#23344)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
Attila BODY
2021-12-24 06:57:20 +01:00
committed by GitHub
parent ca0215ba64
commit 80a537cd13
7 changed files with 13 additions and 15 deletions

View File

@@ -546,14 +546,17 @@
#undef K_MAX_PIN
#endif
// Filament Sensor first pin alias
#if HAS_FILAMENT_SENSOR
#define FIL_RUNOUT1_PIN FIL_RUNOUT_PIN
#define FIL_RUNOUT1_PIN FIL_RUNOUT_PIN // Filament Sensor first pin alias
#else
#undef FIL_RUNOUT_PIN
#undef FIL_RUNOUT1_PIN
#endif
#if NUM_RUNOUT_SENSORS < 2
#undef FIL_RUNOUT2_PIN
#endif
#ifndef LCD_PINS_D4
#define LCD_PINS_D4 -1
#endif