🔨 Preflight check old abl files (#24010)
This commit is contained in:
parent
8bd1547c3b
commit
5e68a86968
|
@ -102,6 +102,10 @@ if pioutil.is_pio_build():
|
||||||
for f in [ "ultralcd_DOGM.cpp", "ultralcd_DOGM.h" ]:
|
for f in [ "ultralcd_DOGM.cpp", "ultralcd_DOGM.h" ]:
|
||||||
if os.path.isfile(os.path.join(p, f)):
|
if os.path.isfile(os.path.join(p, f)):
|
||||||
mixedin += [ f ]
|
mixedin += [ f ]
|
||||||
|
p = os.path.join(env['PROJECT_DIR'], "Marlin", "src", "feature", "bedlevel", "abl")
|
||||||
|
for f in [ "abl.cpp", "abl.h" ]:
|
||||||
|
if os.path.isfile(os.path.join(p, f)):
|
||||||
|
mixedin += [ f ]
|
||||||
if mixedin:
|
if mixedin:
|
||||||
err = "ERROR: Old files fell into your Marlin folder. Remove %s and try again" % ", ".join(mixedin)
|
err = "ERROR: Old files fell into your Marlin folder. Remove %s and try again" % ", ".join(mixedin)
|
||||||
raise SystemExit(err)
|
raise SystemExit(err)
|
||||||
|
|
Loading…
Reference in a new issue