Mks-Robin-Nano-Marlin2.0-Firmware icon indicating copy to clipboard operation
Mks-Robin-Nano-Marlin2.0-Firmware copied to clipboard

Robin nano V1.2 "MT_TIME_DELAY" not declared

Open Davide655321 opened this issue 3 years ago • 3 comments

image

Davide655321 avatar Sep 29 '21 14:09 Davide655321

Yes, I have same problem. MT_TIME_DELAY missing in pins_MKS_ROBIN_NANO.h and pins_MKS_ROBIN_NANO_V2.h. Present in pins_MKS_ROBIN_NANO_V3.h

\Marlin\src\pins\stm32f1\pins_MKS_ROBIN_NANO.h ... #define MT_DET_1_PIN PA4 // LVGL UI FILAMENT RUNOUT1 PIN #define MT_DET_2_PIN PE6 // LVGL UI FILAMENT RUNOUT2 PIN #define MT_DET_PIN_INVERTING false // LVGL UI filament RUNOUT PIN STATE //// PhC : MT_TIME_DELAY missing in pins_MKS_ROBIN_NANO.h and pins_MKS_ROBIN_NANO_V2.h. Present in pins_MKS_ROBIN_NANO_V3.h : #define MT_TIME_DELAY 3000 // Default 3s
...

phcay avatar Oct 05 '21 13:10 phcay

Same on RobinNanoV1.2

Solution to replace line in file below: /virtualbox/Marlin/prusa02/Mks-Robin-Nano-Marlin2.0-Firmware/Marlin/src/lcd/extui/lib/mks_ui/printer_operation.cpp

//filament_c.tick_delay = MT_TIME_DELAY; filament_c.tick_delay = 3000;

madurani avatar Oct 08 '21 12:10 madurani

Yes, I have same problem. MT_TIME_DELAY missing in pins_MKS_ROBIN_NANO.h and pins_MKS_ROBIN_NANO_V2.h. Present in pins_MKS_ROBIN_NANO_V3.h

\Marlin\src\pins\stm32f1\pins_MKS_ROBIN_NANO.h ... #define MT_DET_1_PIN PA4 // LVGL UI FILAMENT RUNOUT1 PIN #define MT_DET_2_PIN PE6 // LVGL UI FILAMENT RUNOUT2 PIN #define MT_DET_PIN_INVERTING false // LVGL UI filament RUNOUT PIN STATE //// PhC : MT_TIME_DELAY missing in pins_MKS_ROBIN_NANO.h and pins_MKS_ROBIN_NANO_V2.h. Present in pins_MKS_ROBIN_NANO_V3.h : #define MT_TIME_DELAY 3000 // Default 3s ...

The new version does not have this problem, because the macro was only applied to NanoV3 at the time, and it was later modified.

solawc avatar Oct 22 '21 02:10 solawc