Mks-Robin-Nano-Marlin2.0-Firmware
Mks-Robin-Nano-Marlin2.0-Firmware copied to clipboard
Black screen after auto leveling
I merged config files from old version (maybe one year before) witch curent version. ven i select an option auto leveling on screen after leveling screen become black, only reboot help. I use an inductive proximity sensor, attaching my configs. Configuration_adv.h.txt Configuration.h.txt
It's a firmware bug??? In case of FIX_MOUNTED_PROBE, a black screen seems to have occurred.
This is a temporary workaround.
draw_level_settings.cpp
-
Line 65 : Modify #if ENABLED(BLTOUCH) --> #if ENABLED(BLTOUCH) || ENABLED(FIX_MOUNTED_PROBE)
-
Line 90 : Modify #if ENABLED(BLTOUCH) --> #if ENABLED(BLTOUCH) || ENABLED(FIX_MOUNTED_PROBE)
draw_ui.cpp
-
Line 904 : Modify #if ENABLED(BLTOUCH) --> #if ENABLED(BLTOUCH) || ENABLED(FIX_MOUNTED_PROBE)
-
Line 1001 : Modify #if ENABLED(BLTOUCH) --> #if ENABLED(BLTOUCH) || ENABLED(FIX_MOUNTED_PROBE)
printer_operation.cpp
- Line 163 #ifdef BLTOUCH --> #ifdef BLTOUCH || FIX_MOUNTED_PROBE
It didn't help, after leveling it still ends up with a black screen. On the older version, everything worked without problems. When building, I noticed one minus: Marlin\src\lcd\extui\lib\mks_ui\printer_operation.cpp:163:22: warning: extra tokens at end of #ifdef directive #ifdef BLTOUCH || FIX_MOUNTED_PROBE
It didn't help, after leveling it still ends up with a black screen. On the older version, everything worked without problems. When building, I noticed one minus: Marlin\src\lcd\extui\lib\mks_ui\printer_operation.cpp:163:22: warning: extra tokens at end of #ifdef directive #ifdef BLTOUCH || FIX_MOUNTED_PROBE
#ifdef BLTOUCH || FIX_MOUNTED_PROBE
-->
#ifdef BLTOUCH bltouch_do_init(false); lv_draw_bltouch_settings(); #endif #ifdef FIX_MOUNTED_PROBE bltouch_do_init(false); lv_draw_bltouch_settings(); #endif
Same thing happened and even there is power on 3dtouch, mainboard etc, display is blank, no beep sound, not turning on and it does not update firmware from sd card...