Closed Dulus0 closed 2 years ago
Thats not really a bug, but more a compatibility issue between two options never meant to coexist. Power loss recovery is disabled for the small memory MCU's, that were not actively supporting or testing anymore, so that doesnt come up when it was used with the intended options, as set in the precompiled builds.
Removing support for SD Card, throws out compiling errors. When compiling with SD enabled it builds ok.
Original lines: //#define MelziHostOnly // Enable this to turn off local SD support and instead prioritize options for Octoprint or USB
if DISABLED(MelziHostOnly)
define SDSUPPORT
endif
If changed to disable SDsupport, either by uncommenting MelziHostOnly or by commenting SDSUPPORT, it causes below build errors. Printer is CR10SPro v1 with stock board and stock display, with BLtouch , microswiss DD, and custom hotend mount.
it compiles ok when commenting below:
if NONE(LowMemoryBoard, MachineCR10Orig)
define POWER_LOSS_RECOVERY
endif
cr10spro_blt_msdd.zip