diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 9544796903..cc353473e6 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -139,6 +139,7 @@ // Choose the name from boards.h that matches your setup #ifndef MOTHERBOARD +// #define MOTHERBOARD BOARD_MKS_ROBIN_NANO_V1_3_F4 #define MOTHERBOARD BOARD_MKS_ROBIN_NANO #endif @@ -1469,8 +1470,7 @@ #if ENABLED(FILAMENT_RUNOUT_SENSOR) #define FIL_RUNOUT_ENABLED_DEFAULT false // Enable the sensor on startup. Override with M412 followed by M500. #define NUM_RUNOUT_SENSORS 1 // Number of sensors, up to one per extruder. Define a FIL_RUNOUT#_PIN for each. - - #define FIL_RUNOUT_STATE LOW // Pin state indicating that filament is NOT present. + #define FIL_RUNOUT_STATE FIL_RUNOUT_LEVEL // Pin state indicating that filament is NOT present. #define FIL_RUNOUT_PULLUP // Use internal pullup for filament runout pins. //#define FIL_RUNOUT_PULLDOWN // Use internal pulldown for filament runout pins. //#define WATCH_ALL_RUNOUT_SENSORS // Execute runout script on any triggering sensor, not only for the active extruder. diff --git a/platformio.ini b/platformio.ini index ad48528f91..ab162fcda4 100644 --- a/platformio.ini +++ b/platformio.ini @@ -13,6 +13,7 @@ [platformio] src_dir = Marlin boards_dir = buildroot/share/PlatformIO/boards +#default_envs = mks_robin_nano_v1_3_f4 default_envs = mks_robin_nano35 include_dir = Marlin extra_configs =