🔨 Preflight check old abl files (#24010)

This commit is contained in:
ellensp 2022-04-10 12:37:24 +12:00 committed by Scott Lahteine
parent 8bd1547c3b
commit 5e68a86968

View file

@ -102,6 +102,10 @@ if pioutil.is_pio_build():
for f in [ "ultralcd_DOGM.cpp", "ultralcd_DOGM.h" ]:
if os.path.isfile(os.path.join(p, 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:
err = "ERROR: Old files fell into your Marlin folder. Remove %s and try again" % ", ".join(mixedin)
raise SystemExit(err)